Skip to content

Commit e593871

Browse files
committed
Use envs instead of properties for build file
1 parent 3951371 commit e593871

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ jobs:
3838
arguments: publish -PossrhUsername=${{ secrets.OSSRH_USERNAME }} -PossrhPassword=${{ secrets.OSSRH_PASSWORD }}
3939
env:
4040
release: 1
41-
REPOSITORY_URL: https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
41+
REPOSITORY_URL: https://s01.oss.sonatype.org/service/local/

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jar.archiveBaseName = 'openfeature'
7878
def repo_url = System.getenv("REPOSITORY_URL")
7979

8080
group = 'dev.openfeature'
81-
version = '0.0.1' + (Boolean.valueOf(System.getProperty("release")) ? "" : "-SNAPSHOT")
81+
version = '0.0.1' + (Boolean.valueOf(System.getenv("release")) ? "" : "-SNAPSHOT")
8282

8383
publishing {
8484
publications {

0 commit comments

Comments
 (0)