Dynamic Versioning
valkyrienyanko opened this issue · 1 comments
valkyrienyanko commented
How do you get release-it working?
How do you change the version automatically in package.json?
aeuu commented
I probably wouldn't use release-it. NPM provides automatic version bumping tool by default. Yarn has a nice prompt as well:
npm version <major|minor|patch>
# major will bump x.0.0, minor will bump 0.x.0, and patch will bump 0.0.x.
# A major bump will reset minor and patch to 0, and a minor bump will set patch to 0.
yarn version
# Follow the instructions!
# Yarn version bumping will also create git tags for you.