From 605ad0953772ae691064ea328109bdc720bedc21 Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Wed, 20 Dec 2023 08:15:46 -0600 Subject: [PATCH] [gh actions] use date as tag for dev-unstable dev-master (#502) --- .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