fix version to remove -

This commit is contained in:
askiiart 2025-03-11 20:37:44 -05:00
parent 3c276cb82e
commit e5621b9cd9
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,5 @@
# librewolf-allow-dark (fedora)
I have nothing to put here for now? Uhhhhh TODO: check what I should put here once the forge is back up.
Note that the version cannot contain `-`, so it's replaced with `.` here (e.g. `136.0-2` -> `136.0.2`)
TODO: Add automatic `%files` generation

1
run.sh
View file

@ -5,6 +5,7 @@ program_name="librewolf-allow-dark"
built_dir=${COMPILED_DIR:-/compiled}/$program_name
version=$(cat $built_dir/version)
version=$(echo $version | sed 's/-/./g')
repo_dir=${REPO_DIR:-/repo}
# skip if already up-to-date