semantic-action

1.1.6 • Public • Published

semantic-action

NPM

Build Status next-update-travis badge

This is a fork of semantic-release that allows you to

run any action (not just npm publish) based on commits after any event.

You could do site deploy, DB migration, GitHub tagging - whatever you want by specifying how to find out what was the previous version, how to find commits, how to analyze them, and how to perform an action if there is a semantic change.

I really appreciate the work semantic-release team has put into their tool, and love their plugin model. This fork will extend the system, but will not be merged.

Options

Change tag prefix from default 'v' to something else, like release-

{
  "release": {
    "tagPrefix": "release-"
  }
}

Debug

Run semantic action with environment variable DEBUG=semantic-action ...

Plugins

I am trying to keep this tool compatible with semantic-release plugins. Additional useful plugins are

Examples

Package Sidebar

Install

npm i semantic-action

Weekly Downloads

13

Version

1.1.6

License

MIT

Last publish

Collaborators

  • bahmutov