From 088be7c0c685dc043513cbf910f7b1613969da59 Mon Sep 17 00:00:00 2001
From: inso <insomniak.fr@gmaiL.com>
Date: Thu, 12 May 2016 19:22:19 +0200
Subject: [PATCH] Fix iss file not changed when releasing

---
 ci/appveyor/sakia.iss | 2 +-
 release.sh            | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/ci/appveyor/sakia.iss b/ci/appveyor/sakia.iss
index 6fec5612..4d13ab3e 100644
--- a/ci/appveyor/sakia.iss
+++ b/ci/appveyor/sakia.iss
@@ -15,7 +15,7 @@
 #error "Unable to find MyAppExe"
 #endif
 
-#define MyAppVerStr "0.20.0dev7"
+#define MyAppVerStr "0.20.0dev10"
 
 [Setup]
 AppName={#MyAppName}
diff --git a/release.sh b/release.sh
index 5d247da2..00a8cd0f 100755
--- a/release.sh
+++ b/release.sh
@@ -7,6 +7,7 @@ echo "Current version: $current"
 if [[ $1 =~ ^[0-9]+.[0-9]+.[0-9]+[0-9a-z]+$ ]]; then
   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 "#define MyAppVerStr \"($current)\"/#define MyAppVerStr \"$1\"/
   git commit src/sakia/__init__.py -m "$1"
   git tag "$1"
 else
-- 
GitLab