Skip to content

Release process

Daniel Lockyer edited this page Apr 27, 2022 · 4 revisions

⚠️ Ensure tests are passing: https://github.com/TryGhost/node-sqlite3/actions/workflows/ci.yml?query=branch%3Amaster

# Checkout a temporary release branch
git checkout -b release

# Bump the version in package.json and create a tag
yarn version

# Push the commit and tag to GitHub
git push --follow-tags

# Wait until CI has created the binaries
# A draft release will have been created: https://github.com/TryGhost/node-sqlite3/releases
# Edit this release to add the changes and publish

# Check the files you're about to publish to NPM
npm pack

# Publish to NPM
npm publish

# Push the commit to `master`
git checkout master && git rebase release && git push

# Cleanup
git branch -D release
Clone this wiki locally