Skip to content

Commit 5fe29d3

Browse files
committed
try to set version number
1 parent c843e2e commit 5fe29d3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ jobs:
3838
env:
3939
USERNAME: ${{ github.actor }}
4040
TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
VERSION: ${{ github.event.release.tag_name }}

lib/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ publishing {
5757
register<MavenPublication>("gpr") {
5858
groupId = "org.moosetechnology"
5959
artifactId = "fame-java"
60+
version = System.getenv("VERSION")
6061
from(components["java"])
6162
pom {
6263
name = "Fame Java"

0 commit comments

Comments
 (0)