From 2f85abfc9b1e323939b623a1307df48b35188883 Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Tue, 19 Dec 2023 15:42:24 -0600 Subject: [PATCH] [gh actions] use date as tag for dev-unstable dev-master --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 475789f58..c151afef2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -152,6 +152,7 @@ jobs: echo "Repo: ${{ github.REPOSITORY }}" echo "outputs.buildtag: ${{ needs.build.outputs.buildtag }}" echo "outputs.shortsha: ${{ needs.build.outputs.shortsha }}" + echo "NOW=$(date +'%Y%m%d.%H%M%S')" >> $GITHUB_ENV continue-on-error: true - name: download artifacts @@ -175,7 +176,7 @@ jobs: repo: dev-unstable owner: emuflight token: ${{ secrets.NC_PAT_EMUF }} - tag: "cfg-${{ github.run_number }}" + tag: "${{ env.NOW }}-cfg" draft: true prerelease: true allowUpdates: true @@ -206,7 +207,7 @@ jobs: repo: dev-master owner: emuflight token: ${{ secrets.NC_PAT_EMUF }} - tag: "cfg-${{ github.run_number }}" + tag: "${{ env.NOW }}-cfg" draft: true prerelease: true allowUpdates: true