Skip to content

Commit d5406ab

Browse files
committed
ci: fix syntax for release.config.js
1 parent bdde99c commit d5406ab

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/rspec_and_release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
run: |
2626
bundle exec rspec --format documentation --require spec_helper
2727
release:
28-
if: github.event_name == 'push'
2928
needs: rspec
3029
runs-on: ubuntu-latest
3130
env:

release.config.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
module.exports = {
2-
"release": {
3-
"branches": [
4-
'+([0-9])?(.{+([0-9]),x}).x',
5-
'main',
6-
{name: 'alpha', prerelease: true}
7-
]
8-
},
2+
"branches": [
3+
'+([0-9])?(.{+([0-9]),x}).x',
4+
'main',
5+
{name: 'alpha', prerelease: true}
6+
],
97
"plugins": [
108
"@semantic-release/commit-analyzer",
119
"@semantic-release/release-notes-generator",

0 commit comments

Comments
 (0)