Skip to content

Commit

Permalink
release: Fix git commit by adding user and email (#366)
Browse files Browse the repository at this point in the history
Configures the git username and email through `git config` command since
the environment variables seem to have no effect on the release target.

Signed-off-by: Marc Lopez <[email protected]>
  • Loading branch information
marclop authored Aug 25, 2020
1 parent 45299ba commit 180a5fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/update-brew-tap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ hub fork --no-remote
hub remote add fork https://github.com/${GITHUB_USER}/homebrew-tap
hub add Formula/ecctl.rb
hub checkout -b f/update-ecctl-formula-to-${VERSION}
hub commit -m "Update ecctl version to ${VERSION}"
git config user.email "${GIT_AUTHOR_EMAIL}"
git config user.name "${GIT_AUTHOR_NAME}"
git commit -m "Update ecctl version to ${VERSION}"
hub push fork f/update-ecctl-formula-to-${VERSION}
hub pull-request -m "Update ecctl version to ${VERSION}" -m "Created through automation by update-brew-tap.sh"

0 comments on commit 180a5fa

Please sign in to comment.