diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml index a0a5195ec..b455baaec 100644 --- a/.github/workflows/homebrew.yml +++ b/.github/workflows/homebrew.yml @@ -11,6 +11,7 @@ on: env: # This gets updated later on in the run by a bash script to strip the prefix C2_CASK_NAME: chatterino + # The full version of Chatterino (e.g. v2.4.1) C2_TAGGED_VERSION: ${{ github.ref_name }} HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }} @@ -23,4 +24,6 @@ jobs: - name: Execute brew bump-cask-pr with version run: | echo "Running bump-cask-pr for cask '$C2_CASK_NAME' and version '$C2_TAGGED_VERSION'" - brew bump-cask-pr --version "$C2_TAGGED_VERSION" "$C2_CASK_NAME" + C2_TAGGED_VERSION_STRIPPED="${C2_TAGGED_VERSION:1}" + echo "Stripped version: '$C2_TAGGED_VERSION_STRIPPED'" + brew bump-cask-pr --version "$C2_TAGGED_VERSION_STRIPPED" "$C2_CASK_NAME" diff --git a/CHANGELOG.md b/CHANGELOG.md index ec801b222..4e59edce7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unversioned +- Dev: Fix homebrew update action. (#4394) + ## 2.4.1 - Major: Added live emote updates for BTTV. (#4147)