summaryrefslogtreecommitdiffstats
path: root/pkgup
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-06-27 09:49:22 +0200
committerRemi Collet <remi@remirepo.net>2019-06-27 09:49:22 +0200
commitab38f61d27ae2ca15729b0b1828c5bdc11a1cdd3 (patch)
tree5a3f1cca2ccbbf75adac60ab15a5ce142288ad71 /pkgup
parent5eec193ae26a3d83f140ba374e06798ed01dc768 (diff)
manage upstream_version
Diffstat (limited to 'pkgup')
-rwxr-xr-xpkgup1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgup b/pkgup
index 914a84d..0cdbc52 100755
--- a/pkgup
+++ b/pkgup
@@ -18,6 +18,7 @@ fi
sed --regexp-extended \
--expression "/^Version:/s/[0-9.]+$/$1/" \
--expression "/github_version/s/[0-9.]+$/$1/" \
+ --expression "/upstream_version/s/[0-9.]+$/$1/" \
--expression "/(github|gh)_commit/s/[0-9a-f]{40}$/$2/" \
--expression '/^Release:/s/[0-9.]+/1/' \
--expression "s/%changelog/%changelog\n* $rpmdate $vendor - $1-1\n- update to $1\n/" \