diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 66e3ee23..d0430513 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -41,3 +41,4 @@ jobs: build-root-directory: ./kotlin env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VERSION: ${{ github.ref_name }} diff --git a/kotlin/walletsdkrs/build.gradle b/kotlin/walletsdkrs/build.gradle index a669da3c..fbe5b832 100644 --- a/kotlin/walletsdkrs/build.gradle +++ b/kotlin/walletsdkrs/build.gradle @@ -109,11 +109,11 @@ publishing { release(MavenPublication) { groupId = 'com.spruceid.wallet.sdk.rs' artifactId = "walletsdkrs" - version = '0.0.1' + version = System.getenv("VERSION") afterEvaluate { from components.release } } } -} \ No newline at end of file +}