diff --git a/biome.json b/biome.json index f1bf2f1..a99fee1 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/2.5.1/schema.json", + "$schema": "https://biomejs.dev/schemas/2.5.2/schema.json", "vcs": { "enabled": true, "clientKind": "git", diff --git a/scripts/publish-proguard-plugin.ts b/scripts/publish-proguard-plugin.ts index b4a46d7..c5edeed 100644 --- a/scripts/publish-proguard-plugin.ts +++ b/scripts/publish-proguard-plugin.ts @@ -23,7 +23,7 @@ const pkg = JSON.parse( ) as { version: string }; const branch = pkg.version.includes("-pre") ? "snapshots" : "releases"; -const markerPomUrl = `https://repo.faststats.dev/${branch}/dev/faststats/proguard-mappings-upload/dev.faststats.proguard-mappings-upload.gradle.plugin/${pkg.version}/dev.faststats.proguard-mappings-upload.gradle.plugin-${pkg.version}.pom`; +const markerPomUrl = `https://repo.faststats.dev/${branch}/dev/faststats/proguard-mappings-upload/${pkg.version}/proguard-mappings-upload-${pkg.version}.pom`; const head = await fetch(markerPomUrl, { method: "HEAD" }); if (head.ok) { @@ -33,12 +33,16 @@ if (head.ok) { process.exit(0); } -const result = spawnSync(gradlew, ["publishAllPublicationsToMavenRepository"], { - cwd: pluginDir, - stdio: "inherit", - env: process.env, - shell: false, -}); +const result = spawnSync( + gradlew, + ["publishPluginMavenPublicationToMavenRepository"], + { + cwd: pluginDir, + stdio: "inherit", + env: process.env, + shell: false, + }, +); if (result.status !== 0) { process.exit(result.status ?? 1);