mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-11-12 14:31:02 +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:
1 parent
ca5b7758ce
commit
d08be990ef
1 file changed
+5
@@ -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