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

[enh] Remove 'gui/package.json' from new_version.sh

parent cbb46ca7
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,7 @@ if [[ $1 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ ]]; then
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
sed -i "s/title\": .*/title\": \"v$1\",/g" package.json
sed -i "s/<title>Duniter.*<\/title>/<title>Duniter $1<\/title>/g" gui/index.html
# Bump the install.sh
......@@ -25,7 +24,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 release/arch/windows/duniter.iss
git add install.sh package.json test/integration/branches.js 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