Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 827 Bytes

releases.md

File metadata and controls

32 lines (24 loc) · 827 Bytes

Releases

Update Git

The most important part of the release process is updating the embedded Git package. This can be done using this one-liner:

npm run update-embedded-git

This script:

  • retrieves the latest dugite-native release from the GitHub API
  • gets the checksums embedded in the release
  • generates the script/embedded-git.json payload to be used at install time

Publishing to NPM

Releases are done to NPM, and are currently limited to the core team.

# to ensure everything is up-to-date and tests pass
npm i
# you might need to do a different sort of version bump here
npm version minor
# this will also run the test suite and fail if any errors found
npm publish
# ensure the version bump is published too
git push origin master
# as well as the new tag
git push origin --tags