This commit is contained in:
parent
ec7a4fbbb7
commit
05a75fc4ca
4
builder
4
builder
@ -89,10 +89,10 @@ 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
|
||||||
|
|
||||||
if [ $(aptly publish list -raw |wc -l) -gt 0 ]; then
|
if [ $(aptly publish list -raw |wc -l) -gt 0 ]; then
|
||||||
aptly publish drop $(lsb_release -cs) debian
|
sudo -u root aptly publish drop $(lsb_release -cs) debian
|
||||||
fi
|
fi
|
||||||
|
|
||||||
aptly publish snapshot -distribution="$(lsb_release -cs)" $datetime-bashclub debian
|
sudo -u root aptly publish snapshot -distribution="$(lsb_release -cs)" $datetime-bashclub debian
|
||||||
|
|
||||||
/bin/systemctl restart aptly.service
|
/bin/systemctl restart aptly.service
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user