Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove bump-homebrew-formula configuration #3812

Merged
merged 2 commits into from
Oct 5, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,23 +60,26 @@ jobs:
environment: release
runs-on: ubuntu-22.04
needs: pypi
if: github.event_name == 'release'
ssbarnea marked this conversation as resolved.
Show resolved Hide resolved

env:
FORCE_COLOR: 1
PY_COLORS: 1
TOXENV: pkg

steps:
- name: Check out src from Git
uses: actions/checkout@v4
ssbarnea marked this conversation as resolved.
Show resolved Hide resolved
with:
fetch-depth: 0 # needed by setuptools-scm
submodules: true
- name: Extract version
id: extract-version
env:
TAG_NAME: ${{ github.event.release.tag_name }}
run: |
echo "version=${TAG_NAME#v}" >> $GITHUB_OUTPUT
ssbarnea marked this conversation as resolved.
Show resolved Hide resolved

- name: Bump homebrew formula
uses: mislav/[email protected]
with:
# A PR will be sent to github.com/Homebrew/homebrew-core to update this formula:
formula-name: ansible-lint
download-url: https://pypi.org/packages/source/a/ansible-lint/ansible-lint-${{ steps.extract-version.outputs.version }}.tar.gz
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}