1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-14 01:04:11 +00:00
starship/ci/bump-brew-formula.yml

16 lines
714 B
YAML
Raw Normal View History

jobs:
- job: ${{ parameters.name }}
displayName: ${{ parameters.displayName }}
pool:
vmImage: macOS-10.13
steps:
- script: |
GIT_TAG="$(Build.SourceBranch)"
git config --global user.name "matchai"
git config --global user.email "hello@matchai.me"
git config --global credential.helper store
echo "https://matchai:$HOMEBREW_GITHUB_API_TOKEN@github.com" >> ~/.git-credentials
brew update
brew bump-formula-pr --url=https://github.com/starship/starship/archive/$GIT_TAG.tar.gz --message="Automated release pull request using continuous integration." --no-browse -v starship
displayName: Bump the Homebrew formula