mirror of
https://github.com/containers/podman.git
synced 2025-07-04 01:48:28 +08:00
Merge pull request #25549 from lsm5/packit-git-commit-fix
[skip-ci] Packit: Fix action script for updating upstream commit id in rpm spec
This commit is contained in:
@ -14,4 +14,4 @@ SPEC_FILE=rpm/$PACKAGE.spec
|
||||
GIT_COMMIT=$(git rev-parse HEAD)
|
||||
|
||||
# Update LDFLAGS to show commit id for Copr builds
|
||||
sed -i "s/^GIT_COMMIT=*/GIT_COMMIT=\"$GIT_COMMIT\"/" $SPEC_FILE
|
||||
sed -i "s/^GIT_COMMIT=.*/GIT_COMMIT=\"$GIT_COMMIT\"/" $SPEC_FILE
|
||||
|
Reference in New Issue
Block a user