From 7ddc04dd6daa4c22844c0695a2cad8ef8addfbcd Mon Sep 17 00:00:00 2001 From: Jonathan Vogt Date: Tue, 21 May 2024 10:21:31 +0200 Subject: [PATCH] fix: specify version in homebrew formula to avoid wrongfully detecting 64 as version --- .github/workflows/homebrew-release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/homebrew-release.yaml b/.github/workflows/homebrew-release.yaml index c3431fc..3ad872a 100644 --- a/.github/workflows/homebrew-release.yaml +++ b/.github/workflows/homebrew-release.yaml @@ -30,6 +30,9 @@ jobs: # Required - string install: 'bin.install "clisso"' + # without specificing the version it will autodetect 64 as a version. + version: ${{ github.event.release.tag_name }} + # Adds URL and checksum targets for different OS and architecture pairs. Using this option assumes # a tar archive exists on your GitHub repo with the following URL pattern (this cannot be customized): # https://github.com/{GITHUB_OWNER}/{REPO_NAME}/releases/download/{TAG}/{REPO_NAME}-{VERSION}-{OPERATING_SYSTEM}-{ARCHITECTURE}.tar.gz'