Maintaining Etcher ================== This document is meant to serve as a guide for maintainers to perform common tasks. Preparing a new version ----------------------- - Bump the version number in the `package.json`'s `version` property. - Bump the version number in the `package.json`'s `builder.win.version` - Bump the version number in the `npm-shrinkwrap.json`'s `version` property. - Add a new entry to `CHANGELOG.md` by running `npm run changelog`. - Re-take `screenshot.png` so it displays the latest version in the bottom right corner. - Commit the changes with the version number as the commit title, including the `v` prefix, to `master`. For example: ```sh git commit -m "v1.0.0" # not 1.0.0 ``` - Create an annotated tag for the new version. The commit title should equal the annotated tag name. For example: ```sh git tag -a v1.0.0 -m "v1.0.0" ``` - Push the commit and the annotated tag. ```sh git push git push --tags ``` Upgrading Electron ------------------ - Upgrade the `electron-prebuilt` dependency version in `package.json` to an *exact version* (no `~`, `^`, etc).