Skip to content

Commit

Permalink
accept version from cli
Browse files Browse the repository at this point in the history
  • Loading branch information
kdabir committed Apr 14, 2021
1 parent 22008f9 commit 90a2588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ subprojects {
apply plugin: 'org.jetbrains.kotlin.jvm'

group = 'com.medly.norm'
version = '0.0.6'

repositories {
mavenCentral()
Expand Down

0 comments on commit 90a2588

Please sign in to comment.