flameshot-org/flameshot

Bump homebrew cask on every release

Open

#2,096 建立於 2021年11月20日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)C++ (29,897 star) (1,916 fork)batch import
EnhancementHelp WantedMacOS

描述

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

貢獻者指南