Skip to content
Snippets Groups Projects
Commit 088be7c0 authored by inso's avatar inso
Browse files

Fix iss file not changed when releasing

parent cf9186c8
Branches
Tags
No related merge requests found
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#error "Unable to find MyAppExe" #error "Unable to find MyAppExe"
#endif #endif
#define MyAppVerStr "0.20.0dev7" #define MyAppVerStr "0.20.0dev10"
[Setup] [Setup]
AppName={#MyAppName} AppName={#MyAppName}
......
...@@ -7,6 +7,7 @@ echo "Current version: $current" ...@@ -7,6 +7,7 @@ echo "Current version: $current"
if [[ $1 =~ ^[0-9]+.[0-9]+.[0-9]+[0-9a-z]+$ ]]; then if [[ $1 =~ ^[0-9]+.[0-9]+.[0-9]+[0-9a-z]+$ ]]; then
IFS='.' read -r -a array <<< "$1" IFS='.' read -r -a array <<< "$1"
sed -i "s/__version_info__\ = ($current)/__version_info__ = ('${array[0]}', '${array[1]}', '${array[2]}')/g" src/sakia/__init__.py sed -i "s/__version_info__\ = ($current)/__version_info__ = ('${array[0]}', '${array[1]}', '${array[2]}')/g" src/sakia/__init__.py
sed -i "#define MyAppVerStr \"($current)\"/#define MyAppVerStr \"$1\"/
git commit src/sakia/__init__.py -m "$1" git commit src/sakia/__init__.py -m "$1"
git tag "$1" git tag "$1"
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment