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

Commit

Permalink
Added comment to publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
nprail committed Aug 23, 2017
1 parent 6b1364a commit e36fc67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ gpg --list-secret-keys
if [ -z "$TRAVIS_TAG" ]
then
DISTRIBUTION=nightly
COMMENT="Nightly builds"
else
DISTRIBUTION=stable
COMMENT="Stable builds"
fi

aptly repo create -distribution=${DISTRIBUTION} -component=main mcpr-cli-release
aptly repo create -distribution=${DISTRIBUTION} -comment="${COMMENT}" -component=main 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 e36fc67

Please sign in to comment.