Skip to content
Snippets Groups Projects
Commit 1ecd3665 authored by inso's avatar inso
Browse files

Fix release script

parent 7ab859c9
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ if [[ $1 =~ ^[0-9]+.[0-9]+.[0-9]+[0-9a-z]+$ ]]; then ...@@ -10,7 +10,7 @@ if [[ $1 =~ ^[0-9]+.[0-9]+.[0-9]+[0-9a-z]+$ ]]; then
sed -i "s/#define MyAppVerStr .*/#define MyAppVerStr \"$1\"/g" ci/appveyor/sakia.iss sed -i "s/#define MyAppVerStr .*/#define MyAppVerStr \"$1\"/g" ci/appveyor/sakia.iss
sed -i "s/Version: .*/Version: $1/g" ci/travis/debian/DEBIAN/control sed -i "s/Version: .*/Version: $1/g" ci/travis/debian/DEBIAN/control
git commit src/sakia/__init__.py ci/appveyor/sakia.iss ci/travis/debian/DEBIAN/control -m "$1" git commit src/sakia/__init__.py ci/appveyor/sakia.iss ci/travis/debian/DEBIAN/control -m "$1"
git tag "$1" git tag -a -m "$1"
else else
echo "Wrong version format" echo "Wrong version format"
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment