hubot-gh-release-pr
A hubot script to create GitHub's PR for release
Last updated 6 years ago by banyan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-gh-release-pr 
SYNC missed versions from official npm registry.

hubot-gh-release-pr

A hubot script to create GitHub's PR for release

See src/gh-release-pr.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-gh-release-pr --save

Then add hubot-gh-release-pr to your external-scripts.json:

["hubot-gh-release-pr"]

How it works

  1. Ask hubot to create PR
  2. hubot create PR via GitHub API.
  3. The default head branch is master, base branch would be that you specified.

Examples

user1>> hubot release <repo-name> <base-branch>
user1>> hubot release test-repo production
user1>> hubot release test-repo staging
user1>> hubot release test-repo edge

Configuration:

Required ENVs:

  • GH_RELEASE_PR_TOKEN
  • GH_RELEASE_PR_USER

Optional ENVs:

  • GH_RELEASE_PR_CUSTOM_ENDPOINT
  • GH_RELEASE_PR_GITHUB_DEBUG
  • GH_RELEASE_PR_GITHUB_HOST
  • GH_RELEASE_PR_GITHUB_PATH_PREFIX
  • GH_RELEASE_PR_GITHUB_PATH_PROTOCOL

Customize Branch

Current Tags

  • 0.1.3                                ...           latest (6 years ago)

4 Versions

  • 0.1.3                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (3)
Dev Dependencies (17)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |