Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Add name to workflow and update git push to distinguish between tag and branch, which have the same name.
  • Loading branch information
mgreminger authored Jan 16, 2025
1 parent 4fb62c9 commit 0d0859e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Create Release
on:
push:
tags:
Expand All @@ -13,4 +14,4 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "[email protected]"
git checkout -b ${{ github.ref_name }}
git push -u origin ${{ github.ref_name }}
git push -u origin /refs/heads/${{ github.ref_name }}

0 comments on commit 0d0859e

Please sign in to comment.