From c8fe996ebf528cada0ca40ccb48398ed8ea3fb43 Mon Sep 17 00:00:00 2001 From: David Gonzalez Martin Date: Sun, 3 Nov 2024 15:00:13 -0600 Subject: [PATCH] Try to fix release once again --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b52df6e..086723b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,12 +74,14 @@ jobs: run: | git config --global user.name "github-actions" git config --global user.email "github-actions@github.com" - DATE=$(date +"%Y-%m-%d-%H%_%M_%S") + DATE=$(date +"%Y-%m-%d %H:%M:%S") COMMIT_HASH=$(git rev-parse --short HEAD) - TAG="automatic-release-${DATE}-${COMMIT_HASH}" + TAG="latest-${BIRTH_ARCH}-${BIRTH_OS}-${CMAKE_BUILD_TYPE}" git tag -a "$TAG" -m "Release on $DATE for commit $COMMIT_HASH" git push origin "$TAG" echo "RELEASE_TAG=$TAG" >> $GITHUB_ENV + env: + CMAKE_BUILD_TYPE: ${{matrix.CMAKE_BUILD_TYPE}} - name: Release uses: softprops/action-gh-release@v2 if: github.ref == 'refs/heads/main' @@ -90,7 +92,6 @@ jobs: name: "Development build" tag_name: ${{env.RELEASE_TAG}} fail_on_unmatched_files: true - make_latest: true files: | ${{env.BLOAT_BUSTER_RELEASE_PATH_BASE}}.7z ${{env.BLOAT_BUSTER_RELEASE_PATH_BASE}}.7z.b2sum