From d57bad0dcb6848dd5b722e23f0e07037d38bf07b Mon Sep 17 00:00:00 2001 From: cstef Date: Tue, 19 Mar 2024 08:44:37 +0100 Subject: [PATCH] Tag with v --- .github/workflows/release.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8bf357..f0f462f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,10 +59,6 @@ jobs: name: homebrew-releaser steps: - uses: actions/checkout@v4 - - name: Generate tag - id: tag - # Get the latest tag without the v prefix - run: echo "tag=$(git describe --tags --abbrev=0 | sed 's/v//')" >> $GITHUB_OUTPUT - name: Release my project to my Homebrew tap uses: Justintime50/homebrew-releaser@392a2426758dfdcc91f302d55cf5061346af2219 with: @@ -81,7 +77,7 @@ jobs: target_linux_arm64: true update_readme_table: true - version: ${{ steps.tag.outputs.tag }} + version: ${GITHUB_REF#refs/tags/v} # Skips committing the generated formula to a homebrew tap (useful for local testing). skip_commit: false # Logs debugging info to console.