From 2d4a058a63343300d4f232316212e797c73c3f83 Mon Sep 17 00:00:00 2001 From: Raphael Boidol Date: Sun, 15 Oct 2023 16:30:19 +0200 Subject: [PATCH] fix: release workflow tag format --- .github/workflows/create-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 47087ed..8bf8f4e 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -13,6 +13,8 @@ jobs: steps: - name: Create release for tag - run: gh release create "${{ github.ref }}" + run: | + TAG=$(echo "${{ github.ref }" | cut -c 11-) + gh release create --verify-tag --generate-notes "$TAG}" env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"