Skip to content

Commit 5d9c829

Browse files
committed
Use the version as tag name even if it doesn't exist
Let's see what happens if you supply a tag name that does not exist. The [documentation][1] sparingly says: > Required. The name of the tag. [1]: https://docs.github.com/en/rest/reference/repos#create-a-release
1 parent a2f2d14 commit 5d9c829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5353
with:
54-
tag_name: ${{ github.ref }}
54+
tag_name: ${{ needs.package.outputs.version }}
5555
release_name: Version ${{ needs.package.outputs.version }}
5656
body: ""
5757
draft: false

0 commit comments

Comments
 (0)