Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Commit

Permalink
Stable and snapshot components in debian repo now
Browse files Browse the repository at this point in the history
  • Loading branch information
nprail committed Aug 23, 2017
1 parent d8b6036 commit a1d220c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -40,7 +40,7 @@ $ mcpr install [pluginID]

##### Example
```
$ mcpr install 274
$ mcpr install dynmap
```
## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion scripts/deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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...'

Expand Down
9 changes: 8 additions & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:

0 comments on commit a1d220c

Please sign in to comment.