Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.05 KB

INTERNAL.md

File metadata and controls

49 lines (34 loc) · 1.05 KB

Serverless plugin for migrate

npm version

This is a plugin for the [Serverless][serverless-web] framework that allows you to manage and run database-agnostic migrations. To do so, it works on top of [migrate][migrate-npm].

How to release

The release will be triggered by the presence of a tag and a version bump. This is made as follows

  1. Generate the new version
npm version major

or

npm version minor

or

npm version minor

or just specify the whole version (beware of not repeating it)

npm version <version, e.g. 3.1.2>

This will generate a version and a tag

  1. Push the commit with the correspoding tag and that will trigger the release
git push origin --tags

How to recreate a release

Firstly, delete the tag and then push it.

git tag --delete <tag, e.g. v3.0.2>
git push origin --delete <tag>