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
2019-07-10 20:57:57 +03:00
committed by Andrey Smirnov
parent ca5b7758ce
commit d08be990ef
+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