mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-05 05:20:34 +00:00
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:
committed by
Andrey Smirnov
parent
ca5b7758ce
commit
d08be990ef
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user