Skip to content

Commit b84bd37

Browse files
committed
[skipci] should fix weird formatting on modrinth
1 parent f146b66 commit b84bd37

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
environment: polymart_deploy
1313
if: |
1414
!github.event.pull_request.head.repo.fork &&
15-
!contains(github.event.head_commit.message, '[nolist]')
15+
!contains(github.event.head_commit.message, '[skipci]')
1616
env:
1717
GH: ${{ toJson(github) }}
1818
steps:

.github/workflows/scripts/upload.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,8 @@ if(!github?.event) {
8282
<p>
8383
Changes in this build:
8484
<ul>
85-
${changes.map(c => `<li><a href="${c.url}">${c.message}</a></li>` + "\n").join("")}
85+
${changes.map(c => `<li><a href="${c.url}">${c.message}</a></li>`).join("\n")}
8686
</ul>
87-
8887
${changes.length > 1 ? `<a href="${event.compare}">View combined changes</a>` : ``}
8988
</p>
9089
`.trim(),
@@ -136,9 +135,8 @@ if(!github?.event) {
136135
<p>
137136
Changes in this build:
138137
<ul>
139-
${changes.map(c => `<li><a href="${c.url}">${c.message}</a></li>` + "\n").join("")}
138+
${changes.map(c => `<li><a href="${c.url}">${c.message}</a></li>`).join("\n")}
140139
</ul>
141-
142140
${changes.length > 1 ? `<a href="${event.compare}">View combined changes</a>` : ``}
143141
</p>
144142
`.trim());

0 commit comments

Comments
 (0)