From 4d5c4df12b61463b2f59637c3a9b090c3b6c794b Mon Sep 17 00:00:00 2001 From: Garux Date: Wed, 23 Oct 2024 21:00:46 +0500 Subject: [PATCH] tweak automatic releases logic (show full log since 'stable', newest commits go 1st, unique tags->release rename = 'stable') --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b809c995..41bf5e81 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -93,11 +93,15 @@ jobs: mv Linux-x86_64/Linux-x86_64.7z netradiant-custom-$(date +%Y%m%d)-linux-x86_64.7z # note: dir/* doesn't match .bla (hidden) file in linux under dir/ but matches in subfolders + - name: Get current date + run: | + echo "MY_DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV + - name: Create latest build - uses: czietz/action-automatic-releases@latest + uses: Garux/action-automatic-releases@master with: repo_token: ${{ secrets.GITHUB_TOKEN }} - automatic_release_tag: "latest" + automatic_release_tag: ${{ env.MY_DATE }} prerelease: false title: Latest Build files: |