mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix the brew cask action (#4394)
It previously tried to bump the version from 2.4.0 to v2.4.1 the action didn't strip the v, but it does now
This commit is contained in:
parent
5ed4a21d6a
commit
d3499e814e
5
.github/workflows/homebrew.yml
vendored
5
.github/workflows/homebrew.yml
vendored
|
@ -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"
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
## Unversioned
|
||||
|
||||
- Dev: Fix homebrew update action. (#4394)
|
||||
|
||||
## 2.4.1
|
||||
|
||||
- Major: Added live emote updates for BTTV. (#4147)
|
||||
|
|
Loading…
Reference in a new issue