Skip to content
Snippets Groups Projects
Commit f5d6df17 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] #721 Wrong version displayed in Windows

parent 29238da4
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,9 @@ if [[ $1 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ ]]; then
sed -i "s/version').equal('.*/version').equal('$1');/g" test/integration/branches.js
sed -i "s/ release: .*/ release: v$1/g" appveyor.yml
# Duniter.iss (Windows installer)
sed -i "s/define MyAppVerStr.*/define MyAppVerStr \"v$1\"/g" release/arch/windows/duniter.iss
# GUI containers version
sed -i "s/name\": .*/name\": \"v$1\",/g" gui/package.json
sed -i "s/title\": .*/title\": \"v$1\",/g" gui/package.json
......@@ -22,7 +25,7 @@ if [[ $1 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ ]]; then
# Commit
git reset HEAD
git add install.sh package.json test/integration/branches.js gui/package.json gui/index.html release/arch/debian/package/DEBIAN/control install.sh
git add install.sh package.json test/integration/branches.js gui/package.json gui/index.html release/arch/debian/package/DEBIAN/control install.sh release/arch/windows/duniter.iss
git commit -m "v$1"
git tag "v$1"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment