Skip to content

Commit d03fdb9

Browse files
ci: correct tagged commit recognition
1 parent 7fc70b8 commit d03fdb9

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

scripts/circle/test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ rebuild () {
2525
done
2626
}
2727

28-
if [ "${CIRCLE_BRANCH}" == "master" ] &&
29-
([ "${CI_PULL_REQUEST}" == "" ] || [ "${CIRCLE_TAG}" != "" ])
28+
if [ "${CIRCLE_TAG}" != "" ] ||
29+
([ "${CIRCLE_BRANCH}" == "master" ] && [ "${CI_PULL_REQUEST}" == "" ])
3030
then
31-
# This is a push to master, so system tests will be run.
31+
# This is a tagged build or a push to master, so system tests will be run.
3232
echo $GCLOUD_TESTS_KEY | base64 --decode > ${HOME}/key.json
3333
export GCLOUD_TESTS_KEY="$HOME/key.json"
3434
fi

system-test/env.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,3 @@ module.exports = {
2020
projectId: process.env.GCLOUD_TESTS_PROJECT_ID,
2121
keyFilename: process.env.GCLOUD_TESTS_KEY
2222
};
23-
24-
console.log('google-cloud-node configuration');
25-
console.log(module.exports);

0 commit comments

Comments
 (0)