diff --git a/README.md b/README.md index 7978f17..f1ba0ee 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,9 @@ git.cernikovi.cz on start and every 10 minutes, and offers a newer one: Install downloads its `.vsix` and installs it. The repository is private, so it needs a Gitea access token with read access: **CMake: Set Gitea Token for CMake Helper Updates** (kept in VS Code's secret storage). **CMake: Check for CMake Helper -Updates** looks now; `cmakeHelper.updates.check` turns it off. +Updates** looks now; it's also in the Targets view's `…` menu and in the +extension's context menu in the Extensions view. `cmakeHelper.updates.check` +turns it off. A release is made by the CI on a `v*` tag matching the version in `package.json`. diff --git a/package-lock.json b/package-lock.json index 4a571f3..82937cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vs-code-cmake-helper", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vs-code-cmake-helper", - "version": "0.1.0", + "version": "0.1.1", "license": "UNLICENSED", "devDependencies": { "@types/node": "^20.0.0", diff --git a/package.json b/package.json index 68e8ad5..bee3431 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vs-code-cmake-helper", "displayName": "VS Code CMake Helper", "description": "CMake the way CLion does it: profiles and presets, targets with their sources, one active target to build, run and debug, run configurations per target, CTest in the Test Explorer.", - "version": "0.1.0", + "version": "0.1.1", "publisher": "cernik", "license": "UNLICENSED", "engines": { @@ -362,6 +362,16 @@ "command": "cmakeHelper.editGdbConfigurations", "when": "view == cmakeHelper.targets", "group": "2_cmake@3" + }, + { + "command": "cmakeHelper.checkForUpdates", + "when": "view == cmakeHelper.targets", + "group": "3_updates@1" + }, + { + "command": "cmakeHelper.setUpdateToken", + "when": "view == cmakeHelper.targets", + "group": "3_updates@2" } ], "view/item/context": [ @@ -451,6 +461,18 @@ "group": "2_edit@0" } ], + "extension/context": [ + { + "command": "cmakeHelper.checkForUpdates", + "when": "extension == cernik.vs-code-cmake-helper", + "group": "cmakeHelper@1" + }, + { + "command": "cmakeHelper.setUpdateToken", + "when": "extension == cernik.vs-code-cmake-helper", + "group": "cmakeHelper@2" + } + ], "editor/title/run": [ { "command": "cmakeHelper.run",