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
generate a true shell script
[git-tools-moved-to-github.git]
/
id-release
diff --git
a/id-release
b/id-release
index
71a4504
..
5acbcfb
100755
(executable)
--- a/
id-release
+++ b/
id-release
@@
-22,14
+22,14
@@
case $1 in
* ) usage ;;
esac
* ) usage ;;
esac
-echo "See also https://twiki.indexdata.com/twiki/bin/view/ID/AdamsReleaseProcedure"
+echo "# See also https://twiki.indexdata.com/twiki/bin/view/ID/AdamsReleaseProcedure"
echo ""
echo ""
-echo "Did you updated the news log file?"
+echo "# Did you updated the news log file?"
for file in Changes News NEWS
do
if [ -e $file ]; then
for file in Changes News NEWS
do
if [ -e $file ]; then
- ls -l $file
+ echo "# $(ls -l $file)"
fi
done
echo ""
fi
done
echo ""
@@
-46,7
+46,7
@@
else
perl=false
fi
perl=false
fi
-if [ `ls |egrep '\.spec$' | wc -l` -eq 0 ]; then
+if [ `ls | egrep '\.spec$' | wc -l` -eq 0 ]; then
usage "No *.spec file found"
else
spec=`ls |egrep '\.spec$' | head -1`
usage "No *.spec file found"
else
spec=`ls |egrep '\.spec$' | head -1`
@@
-60,12
+60,12
@@
fi
perl -i.bak -npe "s,VERSION=.*,VERSION=$version," IDMETA
if $java; then
perl -i.bak -npe "s,VERSION=.*,VERSION=$version," IDMETA
if $java; then
- echo "set maven version to $version"
+ echo "# set maven version to $version"
mvn versions:set -DnewVersion=$version > mvn-versions.log
fi
if $perl; then
mvn versions:set -DnewVersion=$version > mvn-versions.log
fi
if $perl; then
- echo "check perl version numbers"
+ echo "# check perl version numbers"
find . -name '*.pm' -print0 | xargs -0 egrep -H '\$VERSION.*=.*[0-9]' | egrep -v '^\./deb-src/'
fi
find . -name '*.pm' -print0 | xargs -0 egrep -H '\$VERSION.*=.*[0-9]' | egrep -v '^\./deb-src/'
fi