github-release-cli icon indicating copy to clipboard operation
github-release-cli copied to clipboard

Programmatic usage

Open eight04 opened this issue 6 years ago • 0 comments

Is there a programmatic interface for this project? Instead of writing the entire shell script, I'd like to create a reusable and cross-platform node tool that can be used in the npm script:

{
  // ...
  "scripts": {
    // ...
    "postversion": "git push --follow-tags && create-github-release"
  },
  "github-release": {
    "changelog": "npm run generate-changelog --silent",
    "assets": [
      "dist/*"
    ]
  }
}

eight04 avatar Feb 25 '20 20:02 eight04