From 681c78284fd63fd5ed27ed8a1bd7b6a155b7b4b3 Mon Sep 17 00:00:00 2001 From: johnb432 <58661205+johnb432@users.noreply.github.com> Date: Tue, 9 Jul 2024 19:34:46 +0200 Subject: [PATCH] Better release --- .github/workflows/release.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eac6356..d5f7d85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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\