Skip to content
Snippets Groups Projects
Commit cb8dcefe authored by David Dorchies's avatar David Dorchies :zany_face:
Browse files

ci: add `set -x` in scripts/deploy-new-stable-version.sh for debugging

parent 63cef336
No related branches found
No related tags found
1 merge request!135Integrate last changes for release version into devel branch
Pipeline #139526 canceled
......@@ -9,6 +9,8 @@
# exit on error
set -e
# Output command lines for debugging
set -x
VERSION=$1
......@@ -39,7 +41,7 @@ git pull --rebase
npm install
npm run jasmine
if [ ! -z "$(git status --porcelain)" ]
then
then
echo "commiting changes induced by 'npm install'"
git commit -a -m "verify dependencies (npm install) before deploying version $VERSION"
fi
......@@ -47,7 +49,7 @@ fi
# 1.3 version in package.*
npm version "$VERSION" --allow-same-version --git-tag-version=false
if [ ! -z "$(git status --porcelain)" ]
then
then
echo "commiting changes induced by 'npm version'"
git commit -a -m "update package.* to version $VERSION"
fi
......@@ -80,7 +82,7 @@ fi
# 2.3 version in package.*
npm version "$VERSION" --allow-same-version --git-tag-version=false
if [ ! -z "$(git status --porcelain)" ]
then
then
echo "commiting changes induced by 'npm version'"
git commit -a -m "update package.* to version $VERSION"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment