Skip to content

Commit f6f816a

Browse files
authored
Fix release name to strip ref/tag part
github.ref_name string The branch or tag name that triggered the workflow run. https://docs.github.com/en/actions/learn-github-actions/contexts
1 parent af6ab26 commit f6f816a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
uses: ncipollo/release-action@v1
2929
with:
3030
token: ${{ secrets.GITHUB_TOKEN }}
31-
name: Release ${{ github.ref }}
31+
name: Release ${{ github.ref_name }}
3232
artifacts: "GitWorkshop_Slides.pdf,GitWorkshop_Handout.pdf"
3333
generateReleaseNotes: true

0 commit comments

Comments
 (0)