projects
/
git-tools-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffe0589
)
centos: update version number only if it starts with a digit
author
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 2 Feb 2012 09:23:01 +0000
(09:23 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 2 Feb 2012 09:23:01 +0000
(09:23 +0000)
id-release
patch
|
blob
|
history
diff --git
a/id-release
b/id-release
index
b9998d9
..
f10cbfa
100755
(executable)
--- a/
id-release
+++ b/
id-release
@@
-69,7
+69,7
@@
fi
perl -i.bak -npe "\$. == 1 && s,\(.*?\),($version)," debian/changelog
# update redhat version file
-perl -i.bak -npe "s,^Version: .*,Version: $version," $spec
+perl -i.bak -npe "s,^Version: \d+.*,Version: $version," $spec