mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
refine AUR packaging
This commit is contained in:
parent
57df34fd1e
commit
e1c9180cae
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user