1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-28 07:46:28 +00:00

ci: Use the credential.helper config for git

This commit is contained in:
Matan Kushner 2019-08-13 14:58:36 -04:00
parent 6c120dcd2f
commit abf5311664
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4

View File

@ -8,8 +8,8 @@ jobs:
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 '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