mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
ci: Automate the bumping of the starship Brew formula (#143)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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
|
||||
brew bump-formula-pr starship --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
|
||||
Reference in New Issue
Block a user