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
`version` must match a [CoreTools release](https://github.com/Arm-Debug/cmsis-core-tools/tags)
179
-
180
-
- uv2csolution version referenced in `csolution` section
181
-
182
-
`"uv2csolutionVersion": "<version>"`
183
-
184
-
`<version>` must match a [uvprojx-converter release](https://github.com/Arm-Debug/uvprojx-converter/releases)
185
-
186
172
- schema version referenced in `csolution` section
187
173
188
174
`"schemaVersion": "<version>"`
@@ -198,59 +184,32 @@ Before running a release, check the following:
198
184
199
185
4. [Release Assessment](https://armh.sharepoint.com/sites/pwa/PJ1000480/SitePages/Assessments.aspx) for `CMSIS Solution Extension` is approved.
200
186
201
-
### Release workflow
187
+
## Release versioning
202
188
203
-
Use GitHub Actions workflow dispatch to trigger a release:
189
+
This repository follows the VS Code Marketplace pre-release recommendation:
204
190
205
-
1. Navigate to <https://github.com/Arm-Debug/vscode-cmsis-csolution/actions/workflows/ci.yml>,
206
-
then click "Run workflow"
207
-
2. Select the main branch
208
-
3. Select type of new version, e.g. 'Minor'
209
-
4. Select "Skip public publishing jobs'if the version should be created on GitHub but NOT being
210
-
published to Marketplace
211
-
5. Click "Run workflow"
191
+
- **Odd** minor versions (`x.1.z`, `x.3.z`, ...) are pre-releases.
192
+
- **Even** minor versions (`x.0.z`, `x.2.z`, ...) are full releases.
212
193
213
-
Notes
194
+
To enforce this consistently, both packaging and publishing use `scripts/package.ts`, which:
214
195
215
-
- When 'Pre-release' is selected, the version is either:
216
-
- incremented according the latest published pre-release (patch +1), if it is greater than the current version
217
-
- incremented according the the current version, newMinorVersion is always an odd number (including 0), e.g. 0,1,3,...
218
-
- When 'Major', 'Minor' or 'Patch' is selected, the version will be increased and the new version
219
-
number will be committed to package.json. If a second release is triggered, it will also be
220
-
increased, regardless of being pushed to marketplace or not.
221
-
- 'Major' increments major version
222
-
- 'Minor' increments to an even number, e.g. 0,2,4,...
223
-
- 'Patch' increments patch version
224
-
- see [vscode-actions](https://github.com/Arm-Debug/vscode-actions/blob/main/calculate-new-version/src/bump-version.ts)
196
+
- checks the current `package.json` version minor value.
197
+
- automatically adds `--pre-release` to `vsce package` for odd minor versions.
225
198
226
-
Github actions will then
199
+
Use the following commands:
227
200
228
-
- Bump the versions in the package.json files
229
-
- Add the new version to the CHANGELOG.md, and move all changes listed under "Unreleased" to the new version.
230
-
- Commit and push the version and changelog updates
231
-
- Build the VSIX package
232
-
- Create a GitHub release with the VSIX package
233
-
- Publish the package on [Open VSX](https://open-vsx.org/extension/arm/cmsis-csolution) and [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=Arm.cmsis-csolution)
234
-
- Publish the API types to the Arm-Debug GitHub Packages npm registry
235
-
- Sync the docs to [ARM-software/vscode-cmsis-csolution](https://github.com/ARM-software/vscode-cmsis-csolution)
236
-
237
-
After publishing, check that the new version is installable in VSCode and docs for the new version
238
-
have been synced to Arm-Software.
239
-
240
-
### Publishing to VS Code Marketplace
241
-
242
-
The marketplace access token is controlled by the [DSG-OTG](https://dev.azure.com/DSG-OTG)
243
-
organization in Azure. It is available in CI as an Arm-Debug GitHub organization secret. This must
Copy file name to clipboardExpand all lines: src/data-manager/DESIGN.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
## Introduction
6
6
7
-
The Data Manager is responsible for fetching data from various sources, such as [Core Tools](https://github.com/Arm-Debug/cmsis-core-tools) or [Solar Search](https://solar-search.api.keil.arm.com/). The interface is agnostic to the actual source, i.e., the user shall not need to know about the source in order to use the retrieved information.
7
+
The Data Manager is responsible for fetching data from various sources, such as [Solar Search](https://solar-search.api.keil.arm.com/). The interface is agnostic to the actual source, i.e., the user shall not need to know about the source in order to use the retrieved information.
0 commit comments