Commit 428a3344 authored by Romain Bignon's avatar Romain Bignon
Browse files change version on all kind of files (to not exclude scripts/*)

parent 5df98782
......@@ -6,7 +6,7 @@ cd "$(dirname $0)/.."
function set_version {
echo -n "Replacing version in source files to $1... "
sed -i "s/^\(\s*\)\(VERSION\|version\|release\|__version__\)\( *\)=\( *\)[\"'][0-9]\+\..\+[\"']\(,\?\)$/\1\2\3=\4'$1'\5/g" $(git ls-files -x contrib | grep "\(.py\|.rst\)$")
sed -i "s/^\(\s*\)\(VERSION\|version\|release\|__version__\)\( *\)=\( *\)[\"'][0-9]\+\..\+[\"']\(,\?\)$/\1\2\3=\4'$1'\5/g" $(git ls-files -x contrib | grep -v "\.svg$")
echo -e "done.\n"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment