summaryrefslogtreecommitdiffstats
path: root/makesrc.sh
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-06-06 14:12:48 +0200
committerRemi Collet <remi@php.net>2023-06-06 14:12:48 +0200
commit46a84e5c65db97e7bf452d398554e49178c8d026 (patch)
tree87a8e2feae26537473d899827714f1165ef6382d /makesrc.sh
parent80d4c58ad445471ce66d0cf3a549fdc688f146cd (diff)
update to 4.0.1 (no change)HEADmaster
Diffstat (limited to 'makesrc.sh')
-rwxr-xr-xmakesrc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/makesrc.sh b/makesrc.sh
index 3580b58..b63da92 100755
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -3,7 +3,7 @@
NAME=$(basename $PWD)
OWNER=$(sed -n '/^%global gh_owner/{s/.* //;p}' $NAME.spec)
PROJECT=$(sed -n '/^%global gh_project/{s/.* //;p}' $NAME.spec)
-VERSION=$(sed -n '/^%global upstream_version/{s/.* //;p}' $NAME.spec)
+VERSION=$(sed -n '/^Version:/{s/.* //;p}' $NAME.spec)
COMMIT=$(sed -n '/^%global gh_commit/{s/.* //;p}' $NAME.spec)
SHORT=${COMMIT:0:7}