Socket
Book a DemoInstallSign in
Socket

autorelease-github

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autorelease-github

Autorelease steps for Github.

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

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

Keywords

autorelease

FAQs

Package last updated on 07 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts