Skip uploading release versions of aptly to nightly repo

This breaks releases, as two versions of the package with same version
might end up in internal.aptly.info.
This commit is contained in:
Andrey Smirnov authored and Andrey Smirnov committed 2019-07-11 01:52:00 +03:00
1 parent ca5b7758ce
commit d08be990ef
1 file changed
+5
+5
View File
@@ -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