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

Fix: windows release was not put on the right github release

parent 3cb33c36
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ ]]; then ...@@ -10,7 +10,7 @@ if [[ $2 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ ]]; then
# Change the version in package.json and test file # Change the version in package.json and test file
sed -i "s/version\": \"$current/version\": \"$2/g" package.json sed -i "s/version\": \"$current/version\": \"$2/g" package.json
sed -i "s/version').equal('.*/version').equal('$2');/g" test/integration/branches.js sed -i "s/version').equal('.*/version').equal('$2');/g" test/integration/branches.js
sed -i "s/ release: .*/ release: $2/g" appveyor.yml sed -i "s/ release: .*/ release: v$2/g" appveyor.yml
if [[ "$1" =~ ^rel$ ]]; then if [[ "$1" =~ ^rel$ ]]; then
# This is RELEASE: change the version in public installer + add the RELEASE flag # This is RELEASE: change the version in public installer + add the RELEASE flag
sed -i "s/echo \"v.*\"/echo \"v$2\"/g" install.sh sed -i "s/echo \"v.*\"/echo \"v$2\"/g" install.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment