From 08e227b3057a732f0947407b8657123e5418e77c Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 7 May 2023 22:39:31 +0100 Subject: [PATCH] fix(release): use full version in tag annotations --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9888982..eb80150 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,11 +26,11 @@ jobs: git tag -d "$MINOR_TAG" || true git push origin ":${MAJOR_TAG}" || true git push origin ":${MINOR_TAG}" || true - git tag -a "$MAJOR_TAG" -m "Release ${MAJOR_TAG}" - git tag -a "$MINOR_TAG" -m "Release ${MINOR_TAG}" + git tag -a "$MAJOR_TAG" -m "Release v${{ steps.release.outputs.version }}" + git tag -a "$MINOR_TAG" -m "Release v${{ steps.release.outputs.version }}" git push origin "$MAJOR_TAG" git push origin "$MINOR_TAG" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} MAJOR_TAG: v${{ steps.release.outputs.major }} MINOR_TAG: v${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}