From f3589164fc1d02f24338a7c5f4ba7cf4ea87314f Mon Sep 17 00:00:00 2001 From: Chris Dzombak Date: Thu, 28 Dec 2023 10:27:54 -0500 Subject: [PATCH] add explicit version to homebrew formula refs: https://github.com/Justintime50/homebrew-releaser/issues/39 --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6eb2b8a..44bf922 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -322,12 +322,11 @@ jobs: github_token: ${{ secrets.HOMEBREW_RELEASER_PAT }} commit_owner: homebrew-releaser-bot commit_email: homebrew-releaser-bot@users.noreply.github.com - target_darwin_amd64: true target_darwin_arm64: true target_linux_amd64: true target_linux_arm64: true - + version: ${{ needs.meta.outputs.bin_version }} install: 'bin.install "${{ needs.meta.outputs.bin_name }}"' test: 'assert_match("${{ needs.meta.outputs.bin_version }}", shell_output("#{bin}/${{ needs.meta.outputs.bin_name }} -version"))'