projects
/
git-tools-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add executable rights
[git-tools-moved-to-github.git]
/
id-release
diff --git
a/id-release
b/id-release
index
3ebd2a6
..
5345e19
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 "\$. == 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
@@
-98,7
+98,7
@@
echo "sudo rpmbuild -ba $spec"
echo "# if successfully, upload"
echo "\$HOME/proj/git-tools/id-rpm-build/upload-rpms.sh $spec"
echo ""
echo "# if successfully, upload"
echo "\$HOME/proj/git-tools/id-rpm-build/upload-rpms.sh $spec"
echo ""
-echo "# on kebab run: sudo su; cd \$HOME/proj/git-tools/update-archive; ./update-yum-archive.sh"
+echo "# on kebab run: sudo su; cd $HOME/proj/git-tools/update-archive; ./update-yum-archive.sh"
######################################################################
######################################################################
@@
-112,7
+112,7
@@
echo "sudo \$HOME/proj/git-tools/id-deb-build/id-pbuild.sh"
echo "# if successfully, upload"
echo "\$HOME/proj/git-tools/id-deb-build/id-pbuild.sh --upload"
echo ""
echo "# if successfully, upload"
echo "\$HOME/proj/git-tools/id-deb-build/id-pbuild.sh --upload"
echo ""
-echo "# on kebab run: sudo su; cd \$HOME/proj/git-tools/update-archive; ./update-archive.sh"
+echo "# on kebab run: sudo su; cd $HOME/proj/git-tools/update-archive; ./update-archive.sh"
echo ""
echo ""