You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add bundled tools version check step to release procedure
The Arduino IDE release includes several tool dependencies. Unstable versions of these tools may be pinned provisionally
for use with the development version of Arduino IDE, but production releases of Arduino IDE must use production releases
of the tool dependencies.
The release manager should check the tool versions before making a release, but previously this step was not mentioned
in the release procedure documentation.
The Arduino IDE release includes several tool dependencies. Unstable versions of these tools may be pinned provisionally for use with the development version of Arduino IDE, but production releases of Arduino IDE must use production releases of the tool dependencies.
20
+
21
+
The tool versions are defined in the `arduino` object of [`arduino-ide-extension/package.json`](../../arduino-ide-extension/package.json).
22
+
23
+
If any of the tools are pinned to a development version, ensure a suitable production release of the tool is available and then submit a PR to update the version in `arduino-ide-extension/package.json`.
24
+
25
+
### 3. 👀 Check version of packages
18
26
19
27
The [`version` field](https://docs.npmjs.com/cli/v8/configuring-npm/package-json#version) of the project's `package.json` metadata files received a patch version bump (e.g., `2.0.1` -> `2.0.2`) at the time of the previous release.
20
28
@@ -31,7 +39,7 @@ If the version number of the previous release was `2.0.1`:
31
39
- If this is considered a minor release (non-breaking changes to the "API"), the `version` values must be changed to `2.1.0`.
32
40
- If this is considered a major release (breaking changes to the "API"), the `version` values must be changed to `3.0.0`.
33
41
34
-
### 3. 🚢 Create the release on GitHub
42
+
### 4. 🚢 Create the release on GitHub
35
43
36
44
Then, you need to **create and push the new tag** and wait for the release to appear on [the "**Releases**" page](https://github.com/arduino/arduino-ide/releases).
Pushing a tag will trigger a **GitHub Actions** workflow on the `main` branch. Check the "**Arduino IDE**" workflow and see that everything goes right. If the workflow succeeds, a new release will be created automatically and you should see it on the ["**Releases**"](https://github.com/arduino/arduino-ide/releases) page.
48
56
49
-
### 4. ⬆️ Bump version metadata of packages
57
+
### 5. ⬆️ Bump version metadata of packages
50
58
51
59
In order for the version number of the tester and nightly builds to have correct precedence compared to the release version, the `version` field of the project's `package.json` files must be given a patch version bump (e.g., `2.0.1` -> `2.0.2`) **after** the creation of the release tag.
52
60
53
61
Follow the instructions for updating the version metadata [**here**](#update-version-metadata).
54
62
55
-
### 5. 📄 Create the changelog
63
+
### 6. 📄 Create the changelog
56
64
57
65
**Create GitHub issues for the known issues** that we haven't solved in the current release:
58
66
@@ -71,7 +79,7 @@ Add a list of mentions of GitHub users who contributed to the release in any of
71
79
72
80
Add a "**Known Issues**" section at the bottom of the changelog.
73
81
74
-
### 6. ✎ Update the "**Software**" Page
82
+
### 7. ✎ Update the "**Software**" Page
75
83
76
84
Open a PR on the [bcmi-labs/wiki-content](https://github.com/bcmi-labs/wiki-content) repository to update the links and texts.
77
85
@@ -88,7 +96,7 @@ When the deploy workflow is done, check if links on the "**Software**" page are
0 commit comments