Skip to content

Commit 6ffb265

Browse files
committed
fix version override
1 parent 369cc50 commit 6ffb265

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Publish to Maven Local (prepare packages)
1919
uses: gradle/gradle-build-action@v2
2020
with:
21-
arguments: publishToMavenLocal --scan
21+
arguments: publishToMavenLocal --scan -Pversion=${{ github.ref_name }}
2222
env:
2323
ORG_GRADLE_PROJECT_signingKey: ${{secrets.signingKey}}
2424
ORG_GRADLE_PROJECT_signingPassword: ${{secrets.signingPassword}}

build-parameters/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ plugins {
77
}
88

99
buildParameters {
10+
string("version")
1011
bool("ci") {
1112
fromEnvironment()
1213
defaultValue.set(false)

0 commit comments

Comments
 (0)