mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix path to call adfShaVerify
This commit is contained in:
@@ -12,8 +12,7 @@ if [ $TRAVIS_EVENT_TYPE == "push" ] || [ $TRAVIS_EVENT_TYPE == "cron" ] || [ $TR
|
|||||||
then
|
then
|
||||||
if [[ $TRAVIS_BRANCH =~ ^develop(-patch.*)?$ ]] || [[ $TRAVIS_EVENT_TYPE == "cron" ]] || [[ $TRAVIS_EVENT_TYPE == "api" ]]
|
if [[ $TRAVIS_BRANCH =~ ^develop(-patch.*)?$ ]] || [[ $TRAVIS_EVENT_TYPE == "cron" ]] || [[ $TRAVIS_EVENT_TYPE == "api" ]]
|
||||||
then
|
then
|
||||||
|
isSameADFSha=$(node ./scripts/travis/update/adf-same-commit-verify.js --token=$TOKEN --head=$BRANCH_TO_CREATE --repo=$NAME_REPO --commit=$COMMIT )
|
||||||
isSameADFSha=$(node $BUILD_PIPELINE_DIR/adf-same-commit-verify.js --token=$TOKEN --head=$BRANCH_TO_CREATE --repo=$NAME_REPO --commit=$COMMIT )
|
|
||||||
if [ "$isSameADFSha" = 'true' ]; then
|
if [ "$isSameADFSha" = 'true' ]; then
|
||||||
echo 'ADF sha is the same. No need to publish again on NPM'
|
echo 'ADF sha is the same. No need to publish again on NPM'
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user