flameshot-org/flameshot

Bump homebrew cask on every release

Open

#2,096 opened on Nov 20, 2021

View on GitHub
 (1 comment) (1 reaction) (0 assignees)C++ (1,916 forks)batch import
EnhancementHelp WantedMacOS

Repository metrics

Stars
 (29,897 stars)
PR merge metrics
 (Avg merge 2d 23h) (12 merged PRs in 30d)

Description

Feature Description

This github action should do the trick

https://github.com/marketplace/actions/bump-homebrew-formula

on:
  push:
    tags: 'v*'

jobs:
  homebrew:
    name: Bump Homebrew formula
    runs-on: ubuntu-latest
    steps:
      - uses: mislav/bump-homebrew-formula-action@v1
        with:
          # A PR will be sent to github.com/Homebrew/homebrew-core to update this formula:
          formula-name: flameshot
          homebrew-tap: Homebrew/homebrew-cask
        env:
          COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}

This will prevent maintainer contributions like this https://github.com/Homebrew/homebrew-cask/pull/114630 and will speed up the latest version's availability on homebrew

Contributor guide