refine AUR packaging

This commit is contained in:
Kevin Yue 2022-05-09 22:09:27 +08:00
parent 57df34fd1e
commit e1c9180cae
2 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ function update_rpm_changelog() {
function generate_pkgbuild() { function generate_pkgbuild() {
local commit_id="$(git rev-parse HEAD)" local commit_id="$(git rev-parse HEAD)"
local version="$(cat VERSION)" local version="$(cat VERSION)"
sed -e "s/{COMMIT}/${commit_id}/" -e "s/{VERSION}/${version}/" packaging/aur/PKGBUILD-git.in > packaging/aur/PKGBUILD sed -i"" -e "s/{COMMIT}/${commit_id}/" -e "s/{VERSION}/${version}/" packaging/aur/PKGBUILD
} }
# Update rpm version # Update rpm version