update to 2.0
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
askiiart 2025-05-26 21:53:27 -05:00
parent 8c679f1b88
commit 08abad08da
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A
2 changed files with 9 additions and 3 deletions

6
run.sh
View file

@ -31,11 +31,11 @@ mv ~/rpmbuild/RPMS/x86_64/polycat-$version-* $repo_dir/
cd $repo_dir
# this is the easiest way to make sure it doesn't just fail because no polycat-* exists
# (which only happens on first run)
touch polycat-r0.rpm
touch polycat-0.rpm
rm $(ls polycat-*.rpm | sort --version-sort | sed '$d')
rm polycat-r0.rpm || true
rm polycat-0.rpm || true
# update repo
createrepo_c .
echo "package is at $repo_dir/$(ls $repo_dir/polycat-*.rpm)"
echo "package is at $(ls $repo_dir/polycat-*.rpm)"