Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.01 KB

RELEASING.md

File metadata and controls

39 lines (26 loc) · 1.01 KB

Releasing Serverless Framework Event Gateway Plugin

After all pull requests for a release have been merged and all Travis CI builds are green, you may create a release as follows:

  1. If you haven't already, switch to the master branch, ensure that you have no changes, and pull from origin.

    $ git checkout master
    $ git status
    $ git pull <remote> master --rebase
  2. Edit the package.json file changing version field to your new release version.

  3. Commit your changes.

    $ git commit -am "Release <version>"
  4. Tag the version.

    $ git tag v<version>
  5. Push the commit and tag.

    $ git push origin head --tags
  6. Travis CI will publish new version to NPM.

  7. Publish new release on GitHub with release package.

    $ npx release -P