Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit 8857c99

Browse files
committed
disable PR check for semantic release
1 parent 98fcc6b commit 8857c99

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

circle.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,11 @@ workflows:
4444
install-command: echo 'Nothing to install in this job'
4545
no-workspace: true
4646
# instead of "cypress run" do NPM release 😁
47-
command: npm run semantic-release
47+
# clear environment variables to trick semantic-release
48+
# into thinking this is NOT a pull request.
49+
# (under the hood the module env-ci is used to check if this is a PR)
50+
command: |
51+
CIRCLE_PR_NUMBER= \
52+
CIRCLE_PULL_REQUEST= \
53+
CI_PULL_REQUEST= \
54+
npm run semantic-release -- --dry

0 commit comments

Comments
 (0)