From 0d0859efd2c61a3817719504d96ccdbd11f2964f Mon Sep 17 00:00:00 2001 From: Michael Greminger Date: Wed, 15 Jan 2025 22:02:07 -0600 Subject: [PATCH] Update release.yml Add name to workflow and update git push to distinguish between tag and branch, which have the same name. --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad3c7f18..77670ac4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,4 @@ +name: Create Release on: push: tags: @@ -13,4 +14,4 @@ jobs: git config user.name "github-actions[bot]" git config user.email "github-actions@github.com" git checkout -b ${{ github.ref_name }} - git push -u origin ${{ github.ref_name }} + git push -u origin /refs/heads/${{ github.ref_name }}