From 31274f1afcccad7a3207c017f3f602b0b1881d7f Mon Sep 17 00:00:00 2001 From: Swapnil Musale Date: Wed, 3 Apr 2024 12:24:03 +0530 Subject: [PATCH] 1. Enable Automatic Release Library 2. Add Android and Ios section in release note --- .github/release-drafter.yml | 4 ++++ .github/workflows/publish-release.yml | 8 ++------ gradle.properties | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index cf5f07c..4914e6d 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -14,6 +14,10 @@ categories: label: 'chore' - title: 'Documentation 📚' label: 'documentation' + - title: 'Android 📱' + label: 'android' + - title: 'Ios ' + label: 'ios' change-template: '- $TITLE @$AUTHOR (#$NUMBER)' change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. version-resolver: diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index ce284a5..e21caae 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -40,13 +40,9 @@ jobs: - name: Publish Library run: | - echo "Publishing library🚀" + echo "Publishing library ... 🚀" ./gradlew publishAllPublicationsToMavenCentralRepository --no-configuration-cache - echo "Published✅" - -# echo "Releasing repository...🚀" -# ./gradlew closeAndReleaseRepository -# echo "Released✅" + echo "Published ✅" env: ORG_GRADLE_PROJECT_VERSION_NAME: ${{ github.event.inputs.versionName }} ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY }} diff --git a/gradle.properties b/gradle.properties index eb4bed3..06f2ee5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,7 +20,7 @@ org.jetbrains.compose.experimental.uikit.enabled=true # Library Publishing Configuration SONATYPE_HOST=S01 RELEASE_SIGNING_ENABLED=true -SONATYPE_AUTOMATIC_RELEASE=false +SONATYPE_AUTOMATIC_RELEASE=true VERSION_NAME=0.0.5 GROUP=io.github.swapnil-musale