Skip to content

Commit afe13fe

Browse files
committed
fix: update publish-proguard-plugin script to use new Gradle publish command
- Changed the command from 'publish' to 'publishPluginMavenPublicationToMavenRepository' for better clarity and functionality.
1 parent 861990c commit afe13fe

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

scripts/publish-proguard-plugin.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,16 @@ if (!process.env.REPOSITORY_TOKEN) {
1818
const pluginDir = join(scriptDir, "..", "packages", "proguard-plugin");
1919
const gradlew = join(pluginDir, "gradlew");
2020

21-
const result = spawnSync(gradlew, ["publish"], {
22-
cwd: pluginDir,
23-
stdio: "inherit",
24-
env: process.env,
25-
shell: false,
26-
});
21+
const result = spawnSync(
22+
gradlew,
23+
["publishPluginMavenPublicationToMavenRepository"],
24+
{
25+
cwd: pluginDir,
26+
stdio: "inherit",
27+
env: process.env,
28+
shell: false,
29+
},
30+
);
2731

2832
if (result.status !== 0) {
2933
process.exit(result.status ?? 1);

0 commit comments

Comments
 (0)