Skip to content
Snippets Groups Projects
Commit 22d4cbb0 authored by Francois-Rene Rideau's avatar Francois-Rene Rideau
Browse files

Don't need -i.bak in bump-version -- git does backups already.

parent 1db883de
No related branches found
No related tags found
No related merge requests found
...@@ -13,8 +13,8 @@ if [ -z "$NEWVER" ] ; then ...@@ -13,8 +13,8 @@ if [ -z "$NEWVER" ] ; then
NEWVER="$(echo $OLDVER | perl -npe 's/([0-9].[0-9]+)(\.([0-9]+))?/"${1}.".($3+1)/e')" NEWVER="$(echo $OLDVER | perl -npe 's/([0-9].[0-9]+)(\.([0-9]+))?/"${1}.".($3+1)/e')"
fi fi
echo "Setting ASDF version to $NEWVER" echo "Setting ASDF version to $NEWVER"
perl -i.bak -npe 's/^( \(asdf-version "|;;; This is ASDF )[0-9.]+("\)|:)/${1}'"$NEWVER"'${2}/' $ASDFLISP perl -npe 's/^( \(asdf-version "|;;; This is ASDF )[0-9.]+("\)|:)/${1}'"$NEWVER"'${2}/' $ASDFLISP
perl -i.bak -npe 's/^( :version ")[0-9.]+(")/${1}'"$NEWVER"'${2}/' $ASDFASD perl -npe 's/^( :version ")[0-9.]+(")/${1}'"$NEWVER"'${2}/' $ASDFASD
cat<<EOF cat<<EOF
To complete the version change, you may: To complete the version change, you may:
git add -u git add -u
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment