mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-20 13:27:17 +00:00

This commit introduces a `RELEASE_TYPE` option to the Makefile, which can be either `production` or `snapshot`. If its `production`, the behaviour its same as it was before. If `RELEASE_TYPE` is `snapshot`, the shorter version of the current commit hash is appended to the version (replacing the `APPLICATION_VERSION` in the Makefile, as well as the `package.json` version inside the `.asar`), and the publish scripts get configured to deploy to different "snapshot" locations. This commit also reduces the size of the version tag in the bottom right corner a bit so that it fits when the commit hash is appended to it. Signed-off-by: Juan Cruz Viotti <jviotti@openmailbox.org>