diff --git a/README.md b/README.md index b61489b..66c789b 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ The official [MCPR](https://registry.hexagonminecraft.com) CLI. This project is in alpha! Most features are either non-existent or don't fully work. ## Features -- Setup Minecraft Server (**Testing In Progress** #1) -- Install Plugins (**In Progress** #2) +- Setup Minecraft Server (**Testing In Progress** [#1](https://github.com/mcpr/mcpr-cli/issues/1)) +- Install Plugins (**Testing In Progress** [#2](https://github.com/mcpr/mcpr-cli/issues/2)) - Manage Minecraft Server (**Not started**) ## Usage @@ -40,7 +40,7 @@ $ mcpr install [pluginID] ##### Example ``` -$ mcpr install 274 +$ mcpr install dynmap ``` ## Getting Started diff --git a/scripts/deb.sh b/scripts/deb.sh index ebb9464..1012b09 100644 --- a/scripts/deb.sh +++ b/scripts/deb.sh @@ -163,7 +163,7 @@ fi print_status "Creating apt sources list file for the Filiosoft repo..." -exec_cmd "echo 'deb https://apt.filiosoft.com/ squeeze main' > /etc/apt/sources.list.d/filiosoft.list" +exec_cmd "echo 'deb https://apt.filiosoft.com/ squeeze stable' > /etc/apt/sources.list.d/filiosoft.list" print_status 'Running `apt-get update` for you...' diff --git a/scripts/publish.sh b/scripts/publish.sh index c8835ea..2873f19 100644 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -17,7 +17,14 @@ gpg --allow-secret-key-import --import private.key gpg --import archive.key gpg --list-secret-keys -aptly repo create -distribution=squeeze -component=main mcpr-cli-release +if [ -z "$TRAVIS_TAG" ] +then + COMPONENT=snapshot +else + COMPONENT=stable,snapshot,main +fi + +aptly repo create -distribution=squeeze -component=${COMPONENT} mcpr-cli-release aptly repo add mcpr-cli-release bin/linux/ aptly snapshot create mcpr-cli-$1 from repo mcpr-cli-release aptly publish snapshot -batch=true -gpg-key="F2EF7271" -architectures="i386,amd64,all" mcpr-cli-${1} s3:apt.filiosoft.com: