Skip to content

Commit

Permalink
Better release
Browse files Browse the repository at this point in the history
  • Loading branch information
johnb432 committed Jul 9, 2024
1 parent 2b541a8 commit 681c782
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,14 @@ jobs:
rm -r include\
xcopy /e /h /q pullrequest\addons addons\
xcopy /e /h /q pullrequest\include include\
- name: Run HEMTT build
run: hemtt build
- name: Rename build folder
run: mv .hemttout/build .hemttout/@release
- name: Zip build
run: Compress-Archive .hemttout/@release -Destination tao_rewrite_${{ github.ref_name }}.zip
- name: Run HEMTT release
run: hemtt release
- name: Remove 'latest' zip
run: del releases\*latest.zip
- name: Create release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ github.ref_name }}"
prerelease: false
files: tao_rewrite_${{ github.ref_name }}.zip
files: releases\

0 comments on commit 681c782

Please sign in to comment.