Skip to main content

Actually I want the short version of the tag

ID
71c1575
date
2024-05-17 07:08:10+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
ae8177d
message
Actually I want the short version of the tag
changed files
1 file, 1 addition, 2 deletions

Changed files

.github/workflows/upload_binaries.yml (1154) → .github/workflows/upload_binaries.yml (1133)

diff --git a/.github/workflows/upload_binaries.yml b/.github/workflows/upload_binaries.yml
index cc6fc1a..c5aaa61 100644
--- a/.github/workflows/upload_binaries.yml
+++ b/.github/workflows/upload_binaries.yml
@@ -41,7 +41,6 @@ jobs:
         run: zip "save_safari_webarchive.${{ matrix.target }}.zip" save_safari_webarchive README.md LICENSE
 
       - name: Push the zip file to the GitHub release
-        run: gh release upload "$TAG" "save_safari_webarchive.${{ matrix.target }}.zip" --clobber
+        run: gh release upload "$GITHUB_REF_NAME" "save_safari_webarchive.${{ matrix.target }}.zip" --clobber
         env:
           GH_TOKEN: ${{ github.token }}
-          TAG: ${{ github.ref }}