Skip to content

igorschoester/github-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node GitHub helper

See for more information:

Setup

  • Copy config.example.json and name it config.json.
  • Fill in your GitHub developer token.
  • The configuration has a repositories entry for ease of use, you can provide an index (defaults to 0) instead of owner and name.
  • The project and points are for use with the createIssue binary.

CLI

Interact with GitHub through the CLI: ./bin/cli.js --help. Pretty limited as the goal was createIssue.

createIssue

Usage: ./bin/createIssue.js <type of release> <version>.

  • The type of release can be one of: release, rc and rc+.
  • The version is used in the title and milestone.

This command loops through all the repository entries in your configuration and prompts whether or not to create an issue for it.

  • The title is: Release <version> for the release or Create <version> for rc or rc+.
  • The labels are set to in sprint and what the config's points entry is set to.
  • The milestone is set to the version for release and a split version (it splits on -) for rc or rc+. When the version is 12.3-RC4 the milestone will be 12.3.
  • The project is set to the config's repository entry project. This entry is optional.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published