Release
Using GitFlow branching model and tools for Versioning, Semantic Release
standard-version
standard-versionwill do the following:
"Bump" the version in package.json
Update the CHANGELOG.md file
Commit the package.json and CHANGELOG.md files
Tag a new release in the git history
standard-version commands
npm whoami
# create the initial release and create the `CHANGELOG.md`
npm run release --first-release --dry-run
# This will tag a release without bumping the version in package.json (et al.).
# Cut a Release
npm run release --dry-run
# create a pre-release instead of a regular one
npm run release --prereleas --dry-run
# cut a new alpha release version
npm run release --prerelease alpha --dry-run
# fource a version
npm run release --release-as 1.1.0 --dry-runDeveloper Workflow
versioning and release
"release": "standard-version && git push — follow-tags origin master && npm publish"
Last updated
Was this helpful?