Skip to content

Commit

Permalink
fix version override
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Mar 23, 2023
1 parent 369cc50 commit 6ffb265
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Publish to Maven Local (prepare packages)
uses: gradle/gradle-build-action@v2
with:
arguments: publishToMavenLocal --scan
arguments: publishToMavenLocal --scan -Pversion=${{ github.ref_name }}
env:
ORG_GRADLE_PROJECT_signingKey: ${{secrets.signingKey}}
ORG_GRADLE_PROJECT_signingPassword: ${{secrets.signingPassword}}
Expand Down
1 change: 1 addition & 0 deletions build-parameters/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ plugins {
}

buildParameters {
string("version")
bool("ci") {
fromEnvironment()
defaultValue.set(false)
Expand Down

0 comments on commit 6ffb265

Please sign in to comment.