Skip to content

Commit

Permalink
Update build_win.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-k0 committed Oct 6, 2024
1 parent af027da commit f30cfef
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f30cfef

Please sign in to comment.