Skip to content

Commit 0d071a5

Browse files
Release 2.0.0
1 parent 1d81e5b commit 0d071a5

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group = "co.ipregistry"
8-
version = "2.0.0-SNAPSHOT"
8+
version = "2.0.0"
99

1010
java {
1111
toolchain {
@@ -100,8 +100,8 @@ publishing {
100100
name = "GitHubPackages"
101101
url = uri("https://maven.pkg.github.com/ipregistry/squiggly")
102102
credentials {
103-
username = System.getenv("GITHUB_ACTOR") ?: project.findProperty("gpr.user") as String? ?: ""
104-
password = System.getenv("GITHUB_TOKEN") ?: project.findProperty("gpr.key") as String? ?: ""
103+
username = project.findProperty("gpr.user") as String? ?: System.getenv("GH_PACKAGES_USER")
104+
password = project.findProperty("gpr.key") as String? ?: System.getenv("GH_PACKAGES_WRITE_TOKEN")
105105
}
106106
}
107107
}

squiggly-spring-boot-starter/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = "co.ipregistry"
7-
version = "2.0.0-SNAPSHOT"
7+
version = "2.0.0"
88

99
java {
1010
toolchain {
@@ -79,8 +79,8 @@ publishing {
7979
name = "GitHubPackages"
8080
url = uri("https://maven.pkg.github.com/ipregistry/squiggly")
8181
credentials {
82-
username = System.getenv("GITHUB_ACTOR") ?: project.findProperty("gpr.user") as String? ?: ""
83-
password = System.getenv("GITHUB_TOKEN") ?: project.findProperty("gpr.key") as String? ?: ""
82+
username = project.findProperty("gpr.user") as String? ?: System.getenv("GH_PACKAGES_USER")
83+
password = project.findProperty("gpr.key") as String? ?: System.getenv("GH_PACKAGES_WRITE_TOKEN")
8484
}
8585
}
8686
}

0 commit comments

Comments
 (0)