flameshot-org/flameshot

Bump homebrew cask on every release

Aperta

#2096 aperta il 20 nov 2021

 (1 commento) (1 reazione) (0 assegnatari)C++ (1916 fork)batch import
EnhancementHelp WantedMacOS

Metriche repository

Star
 (29.897 stelle)
Metriche merge PR
 (Merge medio 2g 23h) (12 PR mergiate in 30 g)

Descrizione

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

Guida contributor