Skip to content

Commit

Permalink
ci: fix issue with publish release github action
Browse files Browse the repository at this point in the history
  • Loading branch information
bardisg committed Dec 14, 2022
1 parent 880ba05 commit f3f4a0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
release:
name: Publish new release
runs-on: ubuntu-latest
if: (startsWith(github.event.pull_request.head.ref, 'main') || ((startsWith(github.event.pull_request.head.ref, 'release/') || startsWith(github.event.pull_request.head.ref, 'hotfix-release/')) && github.event.pull_request.merged == true) # only merged pull requests must trigger this job
if: startsWith(github.event.pull_request.head.ref, 'main') || ((startsWith(github.event.pull_request.head.ref, 'release/') || startsWith(github.event.pull_request.head.ref, 'hotfix-release/')) && github.event.pull_request.merged == true) # only merged pull requests must trigger this job
steps:
- name: Extract version from branch name (for release branches)
id: extract-version
Expand Down

0 comments on commit f3f4a0f

Please sign in to comment.