Manage your projects version through just a git tag.
This plugin is loaded by default when auto
is installed through the binaries released on GitHub.
If you're using this plugin you aren't releasing your code to any platform (npm, maven, etc). Instead you version calculations is done entirely though git tags.
This plugin only:
- gets last git tag
- bump it to new version
- create new tags
- push to github
It will not:
- Publish to a specific platform
- Use any platform specific project information (ex:
author
orrepo
from apackage.json
)
This plugin is not included with the auto
CLI installed via NPM. To install:
npm i --save-dev @auto-it/git-tag
# or
yarn add -D @auto-it/git-tag
WARNING: You can only use one "package manager" at a time! Mixing them will lead to undesired results.
Simply add the plugins to your auto configuration.
{
"plugins": ["git-tag"]
}
This plugin does not support canaries. For canary support try using the upload-assets plugin