Skip to content

Commit

Permalink
WINDOWS IS A PAIN WITHOUT MSYS
Browse files Browse the repository at this point in the history
  • Loading branch information
Egezenn committed Dec 14, 2024
1 parent a001799 commit b1ffbbf
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Release
on:
workflow_dispatch:

env:
RELEASE_NAME: ""

permissions:
contents: write

Expand All @@ -27,10 +30,8 @@ jobs:

- name: Release preparations
run: |
cd .\dist\__main__
ren __main__.exe ytmasc.exe
zip -q -r ..\..\test.zip .
cd ..\..
ren .\dist\__main__\__main__.exe ytmasc.exe
Compress-Archive -Path ".\dist\__main__\*" -DestinationPath '.\ytmasc.zip'
echo "RELEASE_NAME=$(Get-Date -Format 'yyyy-MM-dd').alpha" | Out-File -FilePath $Env:GITHUB_ENV -Append
- name: Create Release
Expand All @@ -39,6 +40,6 @@ jobs:
tag_name: ${{ env.RELEASE_NAME }}
prerelease: true
body: Alpha stage release
files: ytmasc.exe
files: ytmasc.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b1ffbbf

Please sign in to comment.