mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-21 22:07:18 +00:00
1.1 KiB
1.1 KiB
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
'sversion
property. -
Bump the version number in the
package.json
'sbuilder.win.version
-
Bump the version number in the
npm-shrinkwrap.json
'sversion
property. -
Add a new entry to
CHANGELOG.md
by runningnpm 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, tomaster
. For example:
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:
git tag -a v1.0.0 -m "v1.0.0"
- Push the commit and the annotated tag.
git push
git push --tags
Upgrading Electron
- Upgrade the
electron-prebuilt
dependency version inpackage.json
to an exact version (no~
,^
, etc).