Skip to content

Commit

Permalink
Fix hardcoded Gradle publish version
Browse files Browse the repository at this point in the history
  • Loading branch information
sbihel committed Jan 29, 2024
1 parent 347ea1a commit 60325d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ jobs:
build-root-directory: ./kotlin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ github.ref_name }}
4 changes: 2 additions & 2 deletions kotlin/walletsdkrs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
}
}

0 comments on commit 60325d1

Please sign in to comment.