fix(plugin-cli): release version 0.1.2

This commit is contained in:
t8y2 committed 2026-09-13 18:37:29 +08:00
1 parent 729bb454e3
commit 68afe61693
18 files changed
+30 -30

No files matched your search

+2 -2
View File
@@ -7,9 +7,9 @@ on:
workflow_dispatch:
inputs:
version:
description: "Plugin CLI version to publish, for example 0.1.1"
description: "Plugin CLI version to publish, for example 0.1.2"
required: true
default: "0.1.1"
default: "0.1.2"
npm-tag:
description: "npm distribution tag"
required: true
@@ -45,7 +45,7 @@ on:
type: string
plugin-cli-version:
description: Published @dbx-app/plugin-cli version used to package the plugin
default: "0.1.1"
default: "0.1.2"
required: false
type: string
install-plugin-cli:
@@ -1,6 +1,6 @@
{
"name": "@dbx-app/plugin-cli-darwin-arm64",
"version": "0.1.1",
"version": "0.1.2",
"description": "Precompiled DBX Plugin CLI binary for darwin arm64",
"license": "Apache-2.0",
"repository": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@dbx-app/plugin-cli-darwin-x64",
"version": "0.1.1",
"version": "0.1.2",
"description": "Precompiled DBX Plugin CLI binary for darwin x64",
"license": "Apache-2.0",
"repository": {
@@ -1,6 +1,6 @@
{
"name": "@dbx-app/plugin-cli-linux-arm64-gnu",
"version": "0.1.1",
"version": "0.1.2",
"description": "Precompiled DBX Plugin CLI binary for linux arm64",
"license": "Apache-2.0",
"repository": {
@@ -1,6 +1,6 @@
{
"name": "@dbx-app/plugin-cli-linux-x64-gnu",
"version": "0.1.1",
"version": "0.1.2",
"description": "Precompiled DBX Plugin CLI binary for linux x64",
"license": "Apache-2.0",
"repository": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@dbx-app/plugin-cli-win32-arm64",
"version": "0.1.1",
"version": "0.1.2",
"description": "Precompiled DBX Plugin CLI binary for win32 arm64",
"license": "Apache-2.0",
"repository": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@dbx-app/plugin-cli-win32-x64",
"version": "0.1.1",
"version": "0.1.2",
"description": "Precompiled DBX Plugin CLI binary for win32 x64",
"license": "Apache-2.0",
"repository": {
+7 -7
View File
@@ -1,6 +1,6 @@
{
"name": "@dbx-app/plugin-cli",
"version": "0.1.1",
"version": "0.1.2",
"description": "Create and package DBX plugins without compiling the DBX plugin CLI",
"keywords": [
"cli",
@@ -34,12 +34,12 @@
"prepublishOnly": "npm run build && npm test"
},
"optionalDependencies": {
"@dbx-app/plugin-cli-darwin-arm64": "0.1.1",
"@dbx-app/plugin-cli-darwin-x64": "0.1.1",
"@dbx-app/plugin-cli-linux-arm64-gnu": "0.1.1",
"@dbx-app/plugin-cli-linux-x64-gnu": "0.1.1",
"@dbx-app/plugin-cli-win32-arm64": "0.1.1",
"@dbx-app/plugin-cli-win32-x64": "0.1.1"
"@dbx-app/plugin-cli-darwin-arm64": "0.1.2",
"@dbx-app/plugin-cli-darwin-x64": "0.1.2",
"@dbx-app/plugin-cli-linux-arm64-gnu": "0.1.2",
"@dbx-app/plugin-cli-linux-x64-gnu": "0.1.2",
"@dbx-app/plugin-cli-win32-arm64": "0.1.2",
"@dbx-app/plugin-cli-win32-x64": "0.1.2"
},
"engines": {
"node": ">=18.18.0"
+1 -1
View File
@@ -65,7 +65,7 @@ Human review decides whether a plugin is allowed in the official catalog. SHA-25
Install the precompiled CLI and run `dbx-plugin create <directory> --template frontend|rust|go` for a complete project, or copy `sdk/templates/github/plugin-release.yml`:
```bash
npm install --global @dbx-app/plugin-cli@0.1.0
npm install --global @dbx-app/plugin-cli@0.1.2
```
Pin both the reusable workflow reference and `plugin-cli-version`. The npm package contains the matching CLI binary, packager, and Rust/Go SDK sources. Building the CLI from a DBX checkout is reserved for SDK development and can be enabled with `install-plugin-cli-from-source: true` plus a reviewed `sdk-ref`.
+1 -1
View File
@@ -119,7 +119,7 @@ dependencies = [
[[package]]
name = "dbx-plugin-cli"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"dbx-plugin-packager",
"semver",
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "dbx-plugin-cli"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
license = "Apache-2.0"
description = "Scaffold and package DBX plugins"
+1 -1
View File
@@ -1838,7 +1838,7 @@ mod tests {
let workflow = std::fs::read_to_string(directory.join(".github/workflows/plugin-release.yml")).unwrap();
assert!(!workflow.contains("signing-key-id"));
assert!(!workflow.contains("DBX_PLUGIN_SIGNING_KEY"));
assert!(workflow.contains("plugin-cli-version: 0.1.1"));
assert!(workflow.contains("plugin-cli-version: 0.1.2"));
assert!(!workflow.contains("sdk-ref:"));
match template {
@@ -15,4 +15,4 @@ jobs:
package-command: dbx-plugin package .
package-path: dist/*.dbxp
metadata-path: dist/*.artifact.json
plugin-cli-version: 0.1.1
plugin-cli-version: 0.1.2
@@ -15,5 +15,5 @@ jobs:
package-command: dbx-plugin package .
package-path: dist/*.dbxp
metadata-path: dist/*.artifact.json
plugin-cli-version: 0.1.1
plugin-cli-version: 0.1.2
build-matrix: '{"include":[{"runner":"ubuntu-24.04","target":"universal"}]}'
@@ -15,6 +15,6 @@ jobs:
package-command: dbx-plugin package .
package-path: dist/*.dbxp
metadata-path: dist/*.artifact.json
plugin-cli-version: 0.1.0
plugin-cli-version: 0.1.2
# Frontend-only plugins can publish one cross-platform package instead:
# build-matrix: '{"include":[{"runner":"ubuntu-24.04","target":"universal"}]}'
+6 -6
View File
@@ -356,22 +356,22 @@ importers:
packages/plugin-cli:
optionalDependencies:
'@dbx-app/plugin-cli-darwin-arm64':
specifier: 0.1.1
specifier: 0.1.2
version: link:../plugin-cli-darwin-arm64
'@dbx-app/plugin-cli-darwin-x64':
specifier: 0.1.1
specifier: 0.1.2
version: link:../plugin-cli-darwin-x64
'@dbx-app/plugin-cli-linux-arm64-gnu':
specifier: 0.1.1
specifier: 0.1.2
version: link:../plugin-cli-linux-arm64-gnu
'@dbx-app/plugin-cli-linux-x64-gnu':
specifier: 0.1.1
specifier: 0.1.2
version: link:../plugin-cli-linux-x64-gnu
'@dbx-app/plugin-cli-win32-arm64':
specifier: 0.1.1
specifier: 0.1.2
version: link:../plugin-cli-win32-arm64
'@dbx-app/plugin-cli-win32-x64':
specifier: 0.1.1
specifier: 0.1.2
version: link:../plugin-cli-win32-x64
packages/plugin-cli-darwin-arm64: {}
+1 -1
View File
@@ -81,7 +81,7 @@ try {
process.platform === "win32" ? "dbx-plugin.cmd" : "dbx-plugin",
);
const version = run(command, ["--version"], { cwd: installDirectory, capture: true });
if (!version.stdout.includes("dbx-plugin 0.1.1")) {
if (!version.stdout.includes("dbx-plugin 0.1.2")) {
throw new Error(`Unexpected installed CLI version output: ${version.stdout.trim()}`);
}