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"
6
6
7
7
internal fun ActionCoords.buildPomFile (): String {
8
8
val nameForRepo = name.substringBefore(" __" )
9
+ val nameForDisplay = name.replace(" __" , " /" )
9
10
return """
10
11
<?xml version="1.0" encoding="UTF-8"?>
11
12
<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">
12
13
<modelVersion>4.0.0</modelVersion>
13
14
<groupId>$owner </groupId>
14
15
<artifactId>$name </artifactId>
15
16
<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>
18
19
<url>https://github.com/$owner /$nameForRepo </url>
19
20
<scm>
20
21
<connection>scm:git:git://github.com/$owner /$nameForRepo .git/</connection>
You can’t perform that action at this time.
0 commit comments