2019-08-13 01:29:14 +00:00
|
|
|
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 config.helper store
|
|
|
|
echo "https://matchai:${HOMEBREW_GITHUB_API_TOKEN}@github.com" >> ~/.git-credentials
|
2019-08-13 02:14:28 +00:00
|
|
|
brew update
|
2019-08-13 01:51:37 +00:00
|
|
|
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
|
2019-08-13 01:29:14 +00:00
|
|
|
displayName: Bump the Homebrew formula
|