From f30cfef0d01238ffba0dfb33c54a6ebd41f371cf Mon Sep 17 00:00:00 2001 From: sam-k0 <56673835+sam-k0@users.noreply.github.com> Date: Sun, 6 Oct 2024 22:30:38 +0200 Subject: [PATCH] Update build_win.yml --- .github/workflows/build_win.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/build_win.yml b/.github/workflows/build_win.yml index 6add5cb..7a06b07 100644 --- a/.github/workflows/build_win.yml +++ b/.github/workflows/build_win.yml @@ -51,21 +51,13 @@ jobs: cd ModManagerGUI\dist powershell -Command "Compress-Archive -Path ModManagerGUI -DestinationPath ModManagerGUI_win.zip" - - name: Get current date for tag - id: get_date - run: | - echo "TAG_NAME=win_$(date +'%Y.%m.%d')" >> $GITHUB_ENV - - - name: Debug TAG_NAME - run: echo "Current TAG_NAME is ${{ env.TAG_NAME }}" - - name: Create a new release id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ env.TAG_NAME }} + tag_name: win_${{ github.sha }} release_name: "Release ${{ env.TAG_NAME }}" # Optional, you can change the name draft: false # Set to true if you want to create a draft release prerelease: false # Set to true if it's a prerelease