Skip to content

Commit f8cedcb

Browse files
authored
Merge pull request #38 from Zondax/npmPackageFix
Limit release and publish jobs to master
2 parents 754c410 + ffd1cdb commit f8cedcb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 2
1+
version: 2.1
22
jobs:
33
build:
44
docker:
@@ -145,6 +145,9 @@ workflows:
145145
<<: *no-tags
146146

147147
release:
148+
when:
149+
or:
150+
- equal: [ master, << pipeline.git.branch >> ]
148151
jobs:
149152
- build:
150153
<<: *only-release-tags
@@ -160,6 +163,9 @@ workflows:
160163
- test_zemu
161164

162165
release_npm:
166+
when:
167+
or:
168+
- equal: [ master, << pipeline.git.branch >> ]
163169
jobs:
164170
- publish_npm_package:
165171
<<: *only-npm-tags

0 commit comments

Comments
 (0)