Skip to content

Commit

Permalink
ci: update release candidate rules
Browse files Browse the repository at this point in the history
  • Loading branch information
erichulburd committed Feb 14, 2022
1 parent fbd9884 commit 3859bf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ Test Unit (3.9):
PyPi Publish Release Candidate:
extends: .pypi-publish
rules:
- if: '$CI_COMMIT_BRANCH == "update_qiskit_and_coupling_map_init"'
when: manual
- if: '$CI_COMMIT_BRANCH == "rc"'
- if: '$CI_COMMIT_BRANCH =~ /^rc\//'
when: manual

PyPi Publish Release:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"semantic-release": "^17.1.1"
},
"release": {
"branches": ["main", {"name": "rc", "prerelease": true}, {"name": "update_qiskit_and_coupling_map_init", "prerelease": true}],
"branches": ["main", {"name": "^rc\/", "prerelease": true}],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "eslint",
Expand Down

0 comments on commit 3859bf9

Please sign in to comment.