From 6bc006f7cb9e24fbdd6982b53c517a75389f51d7 Mon Sep 17 00:00:00 2001 From: Swordsteel Date: Tue, 29 Jul 2025 23:34:27 +0200 Subject: [PATCH] fix publish plugin --- .github/workflows/release.yml | 2 +- README.md | 6 +++--- build.gradle.kts | 1 - gradle.properties | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93e0024..7b1c41b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,4 +9,4 @@ jobs: secrets: CI_BOT_PAT: ${{ secrets.CI_BOT_PAT }} with: - TYPE: artifact + TYPE: plugin diff --git a/README.md b/README.md index 464da71..380e3ca 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,11 @@ The InfoExtension provides information for name and version, vendor name, and UT The ConfigExtension provides a find or findOrDefault for getting a property or environment. -## Releasing plugin +## Releasing Plugin Run release pipeline from `master` branch. -## Publishing plugin +## Publishing Plugin ### Publish plugin locally @@ -31,7 +31,7 @@ Run release pipeline from `master` branch. ### Publish plugin to repository ```shell -./gradlew clean build publish +./gradlew clean build publishAllPublicationsToGitHubPackagesRepository ``` ### Global gradle properties diff --git a/build.gradle.kts b/build.gradle.kts index 08933c2..018ed7e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -74,7 +74,6 @@ publishing { } } } - publications.create("mavenJava") { from(components["java"]) } } tasks { diff --git a/gradle.properties b/gradle.properties index 7447d9d..fbca745 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ kotlin.code.style=official version=0.4.0-SNAPSHOT -catalog=0.11.0 +catalog=0.12.0-SNAPSHOT