File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
maven-binding-builder/src/main/kotlin/io/github/typesafegithub/workflows/mavenbinding Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,16 @@ internal const val LATEST_RELASED_LIBRARY_VERSION = "3.0.0"
66
77internal fun ActionCoords.buildPomFile (): String {
88 val nameForRepo = name.substringBefore(" __" )
9+ val nameForDisplay = name.replace(" __" , " /" )
910 return """
1011 <?xml version="1.0" encoding="UTF-8"?>
1112 <project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1213 <modelVersion>4.0.0</modelVersion>
1314 <groupId>$owner </groupId>
1415 <artifactId>$name </artifactId>
1516 <version>$version </version>
16- <name>$name </name>
17- <description>Auto-generated binding for $owner /$name @$version .</description>
17+ <name>$nameForDisplay </name>
18+ <description>Auto-generated binding for $owner /$nameForDisplay @$version .</description>
1819 <url>https://github.com/$owner /$nameForRepo </url>
1920 <scm>
2021 <connection>scm:git:git://github.com/$owner /$nameForRepo .git/</connection>
You can’t perform that action at this time.
0 commit comments