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

Commit 1642e80

Browse files
committed
chore: release from this PR a pre-release
1 parent 048637c commit 1642e80

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ public/
22
node_modules/
33
dist
44
cypress/videos
5+
cypress/screenshots

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

package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,14 @@
6565
"@cypress/webpack-preprocessor": "4.1.3",
6666
"debug": "4.1.1",
6767
"find-yarn-workspace-root": "1.2.1"
68+
},
69+
"release": {
70+
"branches": [
71+
"master",
72+
{
73+
"name": "use-bundler-from-cra",
74+
"prerelease": "use-bundler-from-cra"
75+
}
76+
]
6877
}
6978
}

0 commit comments

Comments
 (0)