From 230164635290be584250d4471b00b350d4b9eb46 Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Fri, 6 Oct 2023 16:36:23 +0200 Subject: [PATCH] use long-version flags Co-authored-by: Mikael Olausson <104485047+mikaelol@users.noreply.github.com> --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 485a19f..8b1b595 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,10 +25,10 @@ jobs: - run: | git config user.name github-actions[bot] git config user.email 41898282+github-actions[bot]@users.noreply.github.com - git tag -d v${{ steps.release.outputs.major }} || true - git tag -d v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true - git push origin :v${{ steps.release.outputs.major }} || true - git push origin :v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true + git tag --delete v${{ steps.release.outputs.major }} || true + git tag --delete v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true + git push --delete origin v${{ steps.release.outputs.major }} || true + git push --delete origin v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} || true git tag -a v${{ steps.release.outputs.major }} -m "Release v${{ steps.release.outputs.major }}" git tag -a v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }} -m "Release v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}" git push origin v${{ steps.release.outputs.major }}