From 831a6d4a23e413a46d9065bae7eaaba5a7232661 Mon Sep 17 00:00:00 2001 From: David Gonzalez Martin Date: Tue, 5 Nov 2024 07:14:28 -0600 Subject: [PATCH] Try to delete latest release to renew date --- .github/workflows/ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91c5a7e..67354ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,11 +34,10 @@ 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") - COMMIT_HASH=$(git rev-parse --short HEAD) TAG="dev" - git tag "$TAG" -f - git push origin "$TAG" -f + gh release delete $TAG --yes + git tag "$TAG" + git push origin "$TAG" echo "RELEASE_TAG_NAME=$TAG" >> $GITHUB_OUTPUT build_and_test: needs: generate-config