Skip to content

Commit

Permalink
ci: Use the credential.helper config for git
Browse files Browse the repository at this point in the history
  • Loading branch information
matchai committed Aug 13, 2019
1 parent 6c120dc commit abf5311
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/bump-brew-formula.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
GIT_TAG="$(Build.SourceBranch)"
git config --global user.name "matchai"
git config --global user.email "[email protected]"
git config --global config.helper store
echo 'export HOMEBREW_GITHUB_API_TOKEN=${HOMEBREW_GITHUB_API_TOKEN}' >> ~/.bash_profile
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
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

0 comments on commit abf5311

Please sign in to comment.