initial commit

This commit is contained in:
askiiart 2025-01-06 16:22:50 -06:00
commit e51c7c25fd
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A
3 changed files with 72 additions and 0 deletions

12
update-version.sh Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -ex
DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
cd $DIR
git clone https://github.com/2IMT/polycat.git
cd polycat/
VERSION=$(printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)")
cd ..
rm -rf polycat/
sed -i "s/Version:.*/Version: $VERSION/g" polycat.spec