Skip to content

Commit

Permalink
Skip uploading release versions of aptly to nightly repo
Browse files Browse the repository at this point in the history
This breaks releases, as two versions of the package with same version
might end up in internal.aptly.info.
  • Loading branch information
smira committed Jul 10, 2019
1 parent 3b8c067 commit 90a8833
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions upload-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ for file in $packages; do
done

if [[ "$1" = "nightly" ]]; then
if echo "$version" | grep -vq "+"; then
# skip nightly when on release tag
exit 0
fi

aptly_repository=aptly-nightly
aptly_published=s3:repo.aptly.info:./nightly

Expand Down

0 comments on commit 90a8833

Please sign in to comment.