Check if repo published before drop
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
6493503960
commit
ec7a4fbbb7
4
builder
4
builder
@ -88,7 +88,9 @@ aptly repo add bashclub $build_dir/$deb_package.deb
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user