Check if repo published before drop
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Thorsten Spille 2022-06-12 01:25:48 +02:00
parent 6493503960
commit ec7a4fbbb7

View File

@ -88,7 +88,9 @@ aptly repo add bashclub $build_dir/$deb_package.deb
aptly snapshot create $datetime-bashclub from repo bashclub aptly snapshot create $datetime-bashclub from repo bashclub
aptly publish drop $(lsb_release -cs) debian > /dev/null 2&>1 if [ $(aptly publish list -raw |wc -l) -gt 0 ]; then
aptly publish drop $(lsb_release -cs) debian
fi
aptly publish snapshot -distribution="$(lsb_release -cs)" $datetime-bashclub debian aptly publish snapshot -distribution="$(lsb_release -cs)" $datetime-bashclub debian