Skip to content

Commit 29d28de

Browse files
authored
release: (1.0) Add hub.protocol https to script (#399)
Adds a `git config --global hub.protocol https` to the `update-brew-tap` script which was failing with: fatal: could not read Username for 'https://github.com': No such device or address Signed-off-by: Marc Lopez <marc5.12@outlook.com>
1 parent 84b0ee8 commit 29d28de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/update-brew-tap.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ hub add Formula/ecctl.rb
3232
hub checkout -b f/update-ecctl-formula-to-${VERSION}
3333
git config user.email "${GIT_AUTHOR_EMAIL}"
3434
git config user.name "${GIT_AUTHOR_NAME}"
35+
git config --global hub.protocol https
3536
git commit -m "Update ecctl version to ${VERSION}"
3637
hub push fork f/update-ecctl-formula-to-${VERSION}
3738
hub pull-request -m "Update ecctl version to ${VERSION}" -m "Created through automation by update-brew-tap.sh"

0 commit comments

Comments
 (0)