Merge pull request #262 from cloudskiff/homebrew-github-action
Add homebrew bump formula github action on release eventmain
commit
4f2f271820
|
@ -132,15 +132,6 @@ jobs:
|
|||
name: "Update Lambda version"
|
||||
command: |
|
||||
aws lambda update-function-configuration --function-name $FUNCTION_NAME --environment "{\"Variables\":{\"LATEST_VERSION\":\"$CIRCLE_TAG\"}}"
|
||||
bump-homebrew-core:
|
||||
macos:
|
||||
xcode: 12.3.0
|
||||
steps:
|
||||
- run:
|
||||
name: "Bump driftctl formula"
|
||||
command: |
|
||||
brew install-bundler-gems -d -v
|
||||
brew bump-formula-pr driftctl --url https://github.com/cloudskiff/driftctl/archive/$CIRCLE_TAG.tar.gz -d -v
|
||||
workflows:
|
||||
nightly:
|
||||
jobs:
|
||||
|
@ -221,12 +212,3 @@ workflows:
|
|||
only: /^v.*/
|
||||
branches:
|
||||
ignore: /.*/
|
||||
- bump-homebrew-core:
|
||||
context: driftctl-homebrew
|
||||
requires:
|
||||
- release
|
||||
filters:
|
||||
tags:
|
||||
only: /^v.*/
|
||||
branches:
|
||||
ignore: /.*/
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
name: Homebrew Bump Formula
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
jobs:
|
||||
homebrew:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: dawidd6/action-homebrew-bump-formula@v3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
formula: driftctl
|
Loading…
Reference in New Issue