New upstream version 1.5.0+ds1

This commit is contained in:
Roland Mas
2023-01-02 14:19:29 +01:00
parent 29e4ea6ec0
commit 5c4f97f88e
324 changed files with 15360 additions and 6668 deletions
Regular → Executable
+10 -3
View File
@@ -7,16 +7,23 @@ packages=${builds}*.deb
folder=`mktemp -u tmp.XXXXXXXXXXXXXXX`
aptly_user="$APTLY_USER"
aptly_password="$APTLY_PASSWORD"
aptly_api="https://internal.aptly.info"
aptly_api="https://aptly-ops.aptly.info"
version=`make version`
echo "Publishing version '$version' to $1..."
for file in $packages; do
echo "Uploading $file..."
curl -fsS -X POST -F "file=@$file" -u $aptly_user:$aptly_password ${aptly_api}/api/files/$folder
echo
done
if [[ "$1" = "nightly" ]]; then
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
@@ -32,7 +39,7 @@ if [[ "$1" = "nightly" ]]; then
echo
fi
if [[ "$1" = "release" ]]; then
if [ "$1" = "release" ]; then
aptly_repository=aptly-release
aptly_snapshot=aptly-$version
aptly_published=s3:repo.aptly.info:./squeeze