Skip to content

Commit 3353ed2

Browse files
authored
Fix releaseEmailTemplate task (#1384)
1 parent df2e512 commit 3353ed2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build-logic/src/main/kotlin/publishing/rootProject.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ internal fun configureOnRootProject(project: Project) =
132132
"NO STAGING REPOSITORY (no build service) !!"
133133
}
134134

135-
val asfProjectName = fetchAsfProjectName(asfName)
135+
val asfProjectName = "Apache Polaris"
136136

137137
val versionNoRc = version.toString().replace("-rc-?[0-9]+".toRegex(), "")
138138

build-logic/src/main/kotlin/publishing/util.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ internal fun <T : Any> parseJson(url: String): T {
7979
}
8080
}
8181

82+
// TODO: this function doesn't work because name attribute doesn't exist on
83+
// public_ldap_projects.json
8284
internal fun fetchAsfProjectName(apacheId: String): String {
8385
val projectsAll: Map<String, Map<String, Any>> =
8486
parseJson("https://whimsy.apache.org/public/public_ldap_projects.json")

0 commit comments

Comments
 (0)