Commit cb8dcefe authored by David Dorchies's avatar David Dorchies
Browse files

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

parent 63cef336
Pipeline #35809 canceled with stages
in 18 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment