From 8bab5860176726407572d8f38c8278a2825b95cc Mon Sep 17 00:00:00 2001 From: Pol Piella Abadia Date: Wed, 5 Apr 2023 09:16:36 +0200 Subject: [PATCH] Updates the download url to the correct format --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4300f32..bff9653 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,7 @@ jobs: - name: Compress archive run: tar -czf ${{ github.ref_name }}.tar.gz -C .build/apple/Products/Release chatty - name: Release + id: create-release uses: softprops/action-gh-release@v1 with: files: ${{ github.ref_name }}.tar.gz @@ -25,5 +26,6 @@ jobs: formula-name: chatty-cli homebrew-tap: polpielladev/homebrew-tap base-branch: main + download-url: ${{ fromJSON(steps.create-release.outputs.assets)[0].browser_download_url }} env: COMMITTER_TOKEN: ${{ secrets.CHATTY_COMMITTER_TOKEN }}