diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be9defc..3910b0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,12 +33,12 @@ jobs: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_SIGNING_PASSPHRASE: ${{ secrets.OSSRH_SIGNING_PASSPHRASE }} OSSRH_SIGNING_SECRET_KEY: ${{ secrets.OSSRH_SIGNING_SECRET_KEY }} - run: ./gradlew runtime:publish codegen:publish cli:publish api:publish + run: ./gradlew -Pversion=${{ github.event.inputs.version }} runtime:publish codegen:publish cli:publish api:publish - name: Publish norm plugin to Gradle Plugin Portal env: GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PUBLISH_KEY }} GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PUBLISH_SECRET }} run: | - ./gradlew -Dgradle.publish.key=$GRADLE_PUBLISH_KEY -Dgradle.publish.secret=$GRADLE_PUBLISH_SECRET plugin:publishPlugins + ./gradlew -Pversion=${{ github.event.inputs.version }} -Dgradle.publish.key=$GRADLE_PUBLISH_KEY -Dgradle.publish.secret=$GRADLE_PUBLISH_SECRET plugin:publishPlugins diff --git a/build.gradle b/build.gradle index 94d7c20..581d2a9 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,6 @@ subprojects { apply plugin: 'org.jetbrains.kotlin.jvm' group = 'com.medly.norm' - version = '0.0.6' repositories { mavenCentral()