Skip to content

Commit 54a6a53

Browse files
committed
release: fix Bluesky message
The pre-composed message works for -rc versions, but for the final version it suggested that the version is "undefined" ;-) Signed-off-by: Johannes Schindelin <[email protected]>
1 parent da8bca0 commit 54a6a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-git.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
}
134134
135135
const releaseURL = `https://github.com/${process.env.OWNER}/${process.env.REPO}/releases/tag/${tagName}`
136-
const [, baseVersion, rc ] = ver.match(/^(.*)-rc(\d+)$/) || [ver]
136+
const [, baseVersion, rc ] = ver.match(/^(.*)-rc(\d+)$/) || [0, ver]
137137
const skeet =
138138
rc
139139
? `The ${nth(Number.parseInt(rc) + 1)} preview of Git for Windows ${baseVersion} is available, please test! ${releaseURL}`

0 commit comments

Comments
 (0)