Skip to content

Commit bf6072c

Browse files
author
Amir Moualem
authored
Merge pull request #134 from snyk/fix/trigger_release
chore: unset PR-related env variables on "merge to staging" flow
2 parents fab3ece + 3b50777 commit bf6072c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
command: |
5656
npm install &&
5757
docker login --username ${DOCKERHUB_USER} --password ${DOCKERHUB_PASSWORD} &&
58+
unset CIRCLE_PULL_REQUEST &&
59+
unset CI_PULL_REQUEST &&
60+
unset CI_PULL_REQUESTS &&
61+
unset CIRCLE_PULL_REQUESTS &&
5862
npx semantic-release &&
5963
NEW_VERSION=`cat ./package.json | jq -r '.version'` &&
6064
./scripts/approve-image.sh $NEW_VERSION ||

0 commit comments

Comments
 (0)