diff --git a/.github/workflows/packaging-gates.yml b/.github/workflows/packaging-gates.yml new file mode 100644 index 00000000..97a0e23f --- /dev/null +++ b/.github/workflows/packaging-gates.yml @@ -0,0 +1,18 @@ +name: Packaging Gates + +on: + push: + branches: [main] + pull_request: + branches: [main] + workflow_dispatch: + +jobs: + packaging-gates: + uses: RicherTunes/Lidarr.Plugin.Common/.github/workflows/packaging-gates.yml@c937a8a887ac4838ee421bd3e16f248fd41b4584 + with: + common-path: ext/lidarr.plugin.common + plugin-csproj: Brainarr.Plugin/Brainarr.Plugin.csproj + manifest-path: plugin.json + host-assemblies-path: ext/Lidarr-docker/_output/net8.0 + lidarr-docker-version: pr-plugins-2.14.2.4786 diff --git a/VERSION b/VERSION index 3a3cd8cc..1892b926 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.3.1 +1.3.2 diff --git a/ext-common-sha.txt b/ext-common-sha.txt index fc00645d..ac8b46d5 100644 --- a/ext-common-sha.txt +++ b/ext-common-sha.txt @@ -1 +1 @@ -d6281799addf4a6d9f9d3d8ee8f11c8a7723e1d7 +c937a8a887ac4838ee421bd3e16f248fd41b4584 \ No newline at end of file diff --git a/ext/lidarr.plugin.common b/ext/lidarr.plugin.common index d6281799..c937a8a8 160000 --- a/ext/lidarr.plugin.common +++ b/ext/lidarr.plugin.common @@ -1 +1 @@ -Subproject commit d6281799addf4a6d9f9d3d8ee8f11c8a7723e1d7 +Subproject commit c937a8a887ac4838ee421bd3e16f248fd41b4584 diff --git a/plugin.json b/plugin.json index 90e15c39..cd753e96 100644 --- a/plugin.json +++ b/plugin.json @@ -1,11 +1,13 @@ { + "id": "brainarr", + "apiVersion": "1.x", "name": "Brainarr", "version": "1.3.2", "description": "AI-powered music discovery with 11 providers including local, cloud, and subscription options", "author": "Brainarr Team", - "minimumVersion": "2.14.2.4786", - "entryPoint": "Lidarr.Plugin.Brainarr.dll", - "dll": "Lidarr.Plugin.Brainarr.dll", + "commonVersion": "1.5.0", + "minHostVersion": "2.14.2.4786", + "main": "Lidarr.Plugin.Brainarr.dll", "website": "https://github.com/RicherTunes/Brainarr", "owner": "RicherTunes", "repository": "https://github.com/RicherTunes/Brainarr", diff --git a/schemas/plugin.schema.json b/schemas/plugin.schema.json index 3c49e535..0980c215 100644 --- a/schemas/plugin.schema.json +++ b/schemas/plugin.schema.json @@ -3,15 +3,15 @@ "$id": "https://github.com/RicherTunes/Brainarr/schemas/plugin.schema.json", "title": "Brainarr plugin.json", "type": "object", - "additionalProperties": false, "required": [ + "id", + "apiVersion", "name", "version", "description", "author", - "minimumVersion", - "entryPoint", - "dll", + "minHostVersion", + "main", "website", "owner", "repository", @@ -19,21 +19,26 @@ "changelogUri" ], "properties": { + "id": { "type": "string", "minLength": 1 }, + "apiVersion": { "type": "string", "pattern": "^\\d+\\.x$" }, + "commonVersion": { "type": "string" }, "name": { "type": "string", "minLength": 1 }, "version": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+$" }, "description": { "type": "string" }, "author": { "type": "string" }, - "minimumVersion": { + "minHostVersion": { "type": "string", "description": "Minimum supported Lidarr version (plugins/nightly).", "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$" }, - "entryPoint": { "type": "string", "minLength": 1 }, - "dll": { "type": "string", "minLength": 1 }, + "main": { "type": "string", "minLength": 1 }, "website": { "type": "string", "format": "uri" }, "owner": { "type": "string" }, "repository": { "type": "string", "format": "uri" }, "supportUri": { "type": "string", "format": "uri" }, - "changelogUri": { "type": "string", "format": "uri" } - } + "changelogUri": { "type": "string", "format": "uri" }, + "gitSha": { "type": "string" }, + "buildTimestamp": { "type": "string" } + }, + "additionalProperties": false }