diff --git a/apps/PlayniteWebPlugin/src/manifest.yaml b/apps/PlayniteWebPlugin/src/manifest.yaml index fc0e56318..5b0ae1acc 100755 --- a/apps/PlayniteWebPlugin/src/manifest.yaml +++ b/apps/PlayniteWebPlugin/src/manifest.yaml @@ -3,17 +3,17 @@ Packages: - Version: 9.4.1 PackageUrl: https://github.com/andrew-codes/playnite-web/releases/download/v9.4.1/PlayniteWeb_ec3439e3-51ee-43cb-9a8a-5d82cf45edac_9_4_1.pext ReleaseDate: 2024-11-10 - RequiredApiVersion: 5.6.0 + RequiredApiVersion: 6.11.0 Changelog: - - "chore: commit ext & manifest on release" - - "fix: no dry run" - - "fix: update manifest in repo" - - "chore: automate manifest creation (#616)" - - "chore: automate manifest creation" + - 'chore: commit ext & manifest on release' + - 'fix: no dry run' + - 'fix: update manifest in repo' + - 'chore: automate manifest creation (#616)' + - 'chore: automate manifest creation' - Version: 9.4.2 PackageUrl: https://github.com/andrew-codes/playnite-web/releases/download/v9.4.2/PlayniteWeb_ec3439e3-51ee-43cb-9a8a-5d82cf45edac_9_4_2.pext ReleaseDate: 2024-11-13 - RequiredApiVersion: 5.6.0 + RequiredApiVersion: 6.11.0 Changelog: - - "fix: run state is reported correctly to UI (#622)" - - "fix: do not override run state with incorrect data" + - 'fix: run state is reported correctly to UI (#622)' + - 'fix: do not override run state with incorrect data' diff --git a/libs/playnite-plugin-installer-manifest/src/index.js b/libs/playnite-plugin-installer-manifest/src/index.js index edf763271..6c2bd5934 100755 --- a/libs/playnite-plugin-installer-manifest/src/index.js +++ b/libs/playnite-plugin-installer-manifest/src/index.js @@ -100,7 +100,8 @@ const verifyRelease = async (pluginConfig, context) => { debug('issue: %o', changelogContext.issue) debug('commit: %o', changelogContext.commit) - const { manifestFilePath, extensionFilePath } = pluginConfig + const { manifestFilePath, extensionFilePath, requiredApiVersion } = + pluginConfig const extension = parse( fs.readFileSync(join(context.cwd, extensionFilePath), 'utf8'), @@ -111,7 +112,7 @@ const verifyRelease = async (pluginConfig, context) => { extension.Id }_${nextRelease.version.replace(/\./g, '_')}.pext`, ReleaseDate: new Date().toISOString().split('T')[0], - RequiredApiVersion: '5.6.0', + RequiredApiVersion: requiredApiVersion, Changelog: [], } await pipeline(parsedCommits, async function* (changelog) { diff --git a/release.config.js b/release.config.js index 8b2fb4c29..49fefb92e 100755 --- a/release.config.js +++ b/release.config.js @@ -56,6 +56,7 @@ const config = { { manifestFilePath: 'apps/PlayniteWebPlugin/src/manifest.yaml', extensionFilePath: 'apps/PlayniteWebPlugin/src/extension.yaml', + requiredApiVersion: '6.11.0', presetConfig: { types: [ { type: 'feat', section: 'Features', hidden: false },