Commit ba34d501f2b2ccf23b96dacfad2d8a95790ccc0d
1 parent
2535fa8e
Exists in
master
and in
39 other branches
Erase old packages on packagecloud
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
ci/build_rpm.sh
... | ... | @@ -46,7 +46,9 @@ echo "Building package: $version-$release" |
46 | 46 | sudo HOME=/root chroot /tmp/centos-7/ rpmbuild -ba /root/rpmbuild/SPECS/colab.spec --define="release ${release}" |
47 | 47 | sudo cp /tmp/centos-7/root/rpmbuild/RPMS/noarch/colab-$version-$release.noarch.rpm . |
48 | 48 | |
49 | + | |
49 | 50 | ## Send to packagecloud |
50 | 51 | |
51 | 52 | gem install package_cloud |
52 | -package_cloud push seocam/$repo/el/7 *.rpm | |
53 | +package_cloud yank seocam/$repo/el/7 colab-$latest_version-$latest_release.noarch.rpm | |
54 | +package_cloud push seocam/$repo/el/7 colab-$version-$release.noarch.rpm | ... | ... |