0.0.3 • Published 7 years ago

last-release-git v0.0.3

Weekly downloads
1,492
License
MIT
Repository
github
Last release
7 years ago

last-release-git npm version Build Status

This is getLastRelease plugin for semantic-release. It's made for projects which must not be published at NPM.

By default semantic-release extracts latest version from NPM registry but last-release-git extracts it from git tags.

Getting started

Install the plugin:

npm install last-release-git --save-dev

Add release field to your package.json as described at plugins documentation:

"release": {
  "getLastRelease": "last-release-git"
}

Create the first git tag manually and push it:

git tag v0.0.0
git push --tags

That's it.

The last thing you may want to do is to set dummy NPM_TOKEN environment variable at CI (semantic-release throws an error if it doesn't exist) like this one: 00000000-0000-0000-0000-000000000000.

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

8 years ago

0.0.0

8 years ago