Skip to content

Commit

Permalink
fix(semantic-release): calculate branches without quotes (#201)
Browse files Browse the repository at this point in the history
This fixes na error when semantic release is not executed on the repository default branch
  • Loading branch information
TheDome authored Sep 17, 2024
1 parent 5529a43 commit 81eca45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion semantic-release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ runs:
fi
cat <<EOF > .releaserc.yaml
branches: ["${GITHUB_REF#refs/*/}${DEFAULT_BRANCH}"]
branches: [${GITHUB_REF#refs/*/}${DEFAULT_BRANCH}]
tagFormat: '${{ inputs.release-prefix }}\${version}'
dryRun: true
ci: true
Expand Down

0 comments on commit 81eca45

Please sign in to comment.