testttt
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
askiiart 2025-02-26 00:34:41 -06:00
parent 736420f6b1
commit 511259e617
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A

4
run.sh
View file

@ -27,6 +27,8 @@ sed -i "s/RPM_PACKAGER_EMAIL/$RPM_PACKAGER_EMAIL/g" polycat.spec
rpmbuild -bb polycat.spec rpmbuild -bb polycat.spec
mv ~/rpmbuild/RPMS/x86_64/polycat-$version-* $repo_dir/ mv ~/rpmbuild/RPMS/x86_64/polycat-$version-* $repo_dir/
ls ~/rpmbuild/RPMS/x86_64/
exit
# remove old versions # remove old versions
cd $repo_dir cd $repo_dir
# this is the easiest way to make sure it doesn't just fail because no polycat-* exists # this is the easiest way to make sure it doesn't just fail because no polycat-* exists
@ -38,4 +40,4 @@ rm polycat-tmp.rpm
# update repo # update repo
createrepo_c . createrepo_c .
echo "package is at $repo_dir/$(ls polycat-*.rpm)" echo "package is at $repo_dir/$(ls $repo_dir/polycat-*.rpm)"