Add homebrew bump formula github action on release event
parent
8e72b0fc7a
commit
f9e546bce6
|
@ -132,15 +132,6 @@ jobs:
|
||||||
name: "Update Lambda version"
|
name: "Update Lambda version"
|
||||||
command: |
|
command: |
|
||||||
aws lambda update-function-configuration --function-name $FUNCTION_NAME --environment "{\"Variables\":{\"LATEST_VERSION\":\"$CIRCLE_TAG\"}}"
|
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:
|
workflows:
|
||||||
nightly:
|
nightly:
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -221,12 +212,3 @@ workflows:
|
||||||
only: /^v.*/
|
only: /^v.*/
|
||||||
branches:
|
branches:
|
||||||
ignore: /.*/
|
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