Skip to content

Commit 6416c43

Browse files
committed
Bump version metadata to produce correct tester and nightly build precedence
On every startup, the Arduino IDE checks for new versions of the IDE. If a newer version is available, a notification/dialog is shown offering an update. "Newer" is determined by comparing the version of the user's IDE to the latest available version on the update channel. This comparison is done according to the Semantic Versioning Specification ("SemVer"). In order to facilitate beta testing, builds are generated of the Arduino IDE at the current stage in development. These builds are given an identifying version of the following form: - <version>-snapshot-<short hash> - builds generated for every push and pull request that modifies relevant files - <version>-nightly-<YYYYMMDD> - daily builds of the tip of the default branch The previous release procedure caused the <version> component of these to be the version of the most recent release. During the pre-release phase of the project development, all releases had a pre-release suffix (e.g., 2.0.0-rc9.4). Appending the "snapshot" or "nightly" suffix to that pre-release version caused these builds to have the correct precedence (e.g., 2.0.0-rc9.2.snapshot-20cc34c > 2.0.0-rc9.2). This situation has changed now that the project is using production release versions (e.g., 2.0.0-nightly-20220915 < 2.0.0). This caused users of "snapshot" or "nightly" builds to be presented with a spurious update notification on startup. The solution is to do a minor bump of the version metadata after creating the release tag. That was not done immediately following the 2.0.0 release. The omission is hereby corrected. This will provide the metadata bump traditionally done before the creation of the release tag in the event the version number of the next release is 2.0.1. In case it is instead a minor or major release, the version metadata will need to be updated once more before the release tag is created.
1 parent 8f88aa6 commit 6416c43

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

arduino-ide-extension/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "arduino-ide-extension",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "An extension for Theia building the Arduino IDE",
55
"license": "AGPL-3.0-or-later",
66
"scripts": {

electron-app/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "electron-app",
4-
"version": "2.0.0",
4+
"version": "2.0.1",
55
"license": "AGPL-3.0-or-later",
66
"main": "src-gen/frontend/electron-main.js",
77
"dependencies": {
@@ -21,7 +21,7 @@
2121
"@theia/process": "1.25.0",
2222
"@theia/terminal": "1.25.0",
2323
"@theia/workspace": "1.25.0",
24-
"arduino-ide-extension": "2.0.0"
24+
"arduino-ide-extension": "2.0.1"
2525
},
2626
"devDependencies": {
2727
"@theia/cli": "1.25.0",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "arduino-ide",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Arduino IDE",
55
"repository": "https://github.com/arduino/arduino-ide.git",
66
"author": "Arduino SA",

0 commit comments

Comments
 (0)