From 460a8a5c4f98e0a2290adf473fbd056c3a985a6c Mon Sep 17 00:00:00 2001 From: Karsten Dambekalns Date: Fri, 27 Sep 2024 17:46:24 +0200 Subject: [PATCH] Fix version number "calculation" The `v` should not be present, says Homebrew, but my try of dropping it failed. This shall work. --- .github/workflows/go.build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.build.yaml b/.github/workflows/go.build.yaml index ce553d5..32a3247 100644 --- a/.github/workflows/go.build.yaml +++ b/.github/workflows/go.build.yaml @@ -103,7 +103,7 @@ jobs: run: cp .github/workflows/localbeach.rb.tpl homebrew/Formula/localbeach.rb - name: Set RELEASE_VERSION env - run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*v/}" >> $GITHUB_ENV + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV # see: https://github.com/bluwy/substitute-string-action - name: Substitute Homebrew variables