autorelease-github
Autorelease steps for Github.
Last updated 4 years ago by mrgalaxy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install autorelease-github 
SYNC missed versions from official npm registry.

Autorelease Github

npm David Build Status

Autorelease steps for Github repositories that creates Github releases with the changelog. Check out this very repo's releases for an example.

Check out autorelease-travis for Travis CI integration.

Quick Setup

To avoid the manual install process, use autorelease-setup. The prompts will guide you through the correct configuration.

npm i autorelease-setup -g
autorelease-setup

Manual Setup

Install with NPM as a dev dependency with autorelease:

npm i autorelease autorelease-github --save-dev

Add the following to a .autoreleaserc file in the root directory:

{
  "pre": {
    "verify": [ "autorelease-github/verify.js" ]
  },
  "post": {
    "publishChangelog": [ "autorelease-github/create-release.js" ]
  }
}

Make sure the Github repository URL is specified in the package.json file:

{
  "repository": {
    "type": "git",
    "url": "https://github.com/ghusername/my-autorelease-project.git"
  }
}

And lastly, set a Github personal access token to the GH_TOKEN environment variable. The token needs to have the minimum scopes of repo, read:org, user:email, and write:repo_hook.

export GH_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Current Tags

  • 1.2.0                                ...           latest (4 years ago)

5 Versions

  • 1.2.0                                ...           4 years ago
  • 1.2.0-alpha.0                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 10
Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |