Skip to content

Commit 6b44072

Browse files
committed
Remove dependency on the git ref when creating releases
1 parent b13d006 commit 6b44072

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/create-github-release/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ runs:
1515
with:
1616
milestone: ${{ inputs.milestone }}
1717
token: ${{ inputs.token }}
18-
config-file: ${{ github.action_path }}/changelog-generator.yml
18+
config-file: .github/actions/create-github-release/changelog-generator.yml
1919
- name: Create GitHub Release
2020
env:
2121
GITHUB_TOKEN: ${{ inputs.token }}
2222
shell: bash
23-
run: gh release create ${{ github.ref_name }} --notes-file changelog.md
23+
run: gh release create ${{ format('v{0}', inputs.milestone) }} --notes-file changelog.md

0 commit comments

Comments
 (0)