Fix scripts. Force JS rebuild. (#8144)
This commit is contained in:
parent
feef2f8791
commit
dc8d6d819e
@ -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}"
|
||||
|
@ -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}"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user