hubot-github-compare
v1.1.0
Published
Return Github comparison URLs for two branches/releases on any repo
Downloads
5
Readme
hubot-github-compare
Return Github comparison URL for 2 branches/releases on a specified repo
Hubot> hubot compare user/repo develop to 1.0.1
Hubot> https://github.com/user/repo/compare/develop...1.0.1
Configuration Options
Default Org/User
If you set the HUBOT_GITHUB_USER
environmental variable, hubot will assume any repos that are not namespaced are in your user or org account.
export HUBOT_GITHUB_USER=markhuge
Hubot> hubot compare hubot-github-compare develop to master
Hubot> https://github.com/markhuge/hubot-github-compare/compare/develop...master
Github Enterprise
For Github Enterprise users, you can set the HUBOT_GITHUB_API
environmental variable to your Github Enterprise installation.
Ex: export HUBOT_GITHUB_API=https://github.myshiz.biz
Hubot> hubot compare user/repo develop to 1.0.1
Hubot> https://github.myshiz.biz/user/repo/compare/develop...1.0.1