From dc8d6d819e8c9cb8374482c3517ba2a231a5be2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Mon, 19 Mar 2018 09:15:14 +0100 Subject: [PATCH] Fix scripts. Force JS rebuild. (#8144) --- js-old/scripts/push-precompiled.sh | 2 +- js/scripts/push-precompiled.sh | 2 +- scripts/gitlab-test.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js-old/scripts/push-precompiled.sh b/js-old/scripts/push-precompiled.sh index 71278a06e..70727d900 100755 --- a/js-old/scripts/push-precompiled.sh +++ b/js-old/scripts/push-precompiled.sh @@ -4,7 +4,7 @@ set -e # variables PVER="1-9" PTYPE="v1" -TRACK="beta" +TRACK="stable" UTCDATE=`date -u "+%Y%m%d-%H%M%S"` PRE_REPO="js-dist-paritytech/parity-${TRACK}-${PVER}-${PTYPE}.git" PRE_REPO_TOKEN="https://${GITHUB_JS_PRECOMPILED}:@github.com/${PRE_REPO}" diff --git a/js/scripts/push-precompiled.sh b/js/scripts/push-precompiled.sh index 22a3f34f3..db8fc4a4a 100755 --- a/js/scripts/push-precompiled.sh +++ b/js/scripts/push-precompiled.sh @@ -4,7 +4,7 @@ set -e # variables PVER="1-9" PTYPE="shell" -TRACK="beta" +TRACK="stable" UTCDATE=`date -u "+%Y%m%d-%H%M%S"` PRE_REPO="js-dist-paritytech/parity-${TRACK}-${PVER}-${PTYPE}.git" PRE_REPO_TOKEN="https://${GITHUB_JS_PRECOMPILED}:@github.com/${PRE_REPO}" diff --git a/scripts/gitlab-test.sh b/scripts/gitlab-test.sh index 5e15fb52c..2fcb1e25a 100755 --- a/scripts/gitlab-test.sh +++ b/scripts/gitlab-test.sh @@ -8,8 +8,8 @@ if [[ "$CI_COMMIT_REF_NAME" = "beta" || "$CI_COMMIT_REF_NAME" = "stable" ]]; the else export GIT_COMPARE=master; fi -export JS_FILES_MODIFIED="$(git --no-pager diff --name-only $GIT_COMPARE...$CI_COMMIT_SHA | grep ^js/ | wc -l)" -export JS_OLD_FILES_MODIFIED="$(git --no-pager diff --name-only $GIT_COMPARE...$CI_COMMIT_SHA | grep ^js-old/ | wc -l)" +export JS_FILES_MODIFIED=1 +export JS_OLD_FILES_MODIFIED=1 export RUST_FILES_MODIFIED="$(git --no-pager diff --name-only $GIT_COMPARE...$CI_COMMIT_SHA | grep -v -e ^js -e ^\\. -e ^LICENSE -e ^README.md -e ^test.sh -e ^windows/ -e ^scripts/ -e ^mac/ -e ^nsis/ | wc -l)" echo "RUST_FILES_MODIFIED: $RUST_FILES_MODIFIED"