Skip to content

Commit

Permalink
ci: fix release workflow to support release branches (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n committed Sep 22, 2022
1 parent 5deef1e commit 0a83b9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/if-nodejs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ on:
branches:
- master
# below lines are not enough to have release supported for these branches
# make sure configuration of `semantic-release` package mentiones these branches
- next
- next-major
- beta
- alpha
- '**-release' # custom
# make sure configuration of `semantic-release` package mentions these branches
- next-spec
- next-major-spec

jobs:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
push:
branches:
- master
- '**-release'
- next-spec
- next-major-spec

jobs:
release:
Expand Down

0 comments on commit 0a83b9b

Please sign in to comment.