File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -180,15 +180,15 @@ jobs:
180
180
let body = ''
181
181
try {
182
182
const name = process.env.PACKAGE_TO_UPGRADE
183
- const version = `${name.match(/git-lfs/) ? 'v' : ''}${ process.env.UPGRADE_TO_VERSION}`
183
+ const version = process.env.UPGRADE_TO_VERSION
184
184
185
185
if (name === 'mintty') body = `See https://github.com/mintty/mintty/releases/tag/${version} for details.`
186
186
else if (name === 'mingw-w64-git-lfs') body = `See https://github.com/git-lfs/git-lfs/releases/tag/${version} for details.`
187
187
else if (name === 'mingw-w64-pcre2') body = `See https://github.com/PCRE2Project/pcre2/blob/pcre2-${version}/ChangeLog for details.`
188
188
189
189
const terms = 'type:issue repo:git-for-windows/git state:open author:app/github-actions label:component-update'
190
190
const { data } = await github.rest.search.issuesAndPullRequests({
191
- q: `"[New ${name.replace(/^mingw-w64-/, '')} version]" ${version} in:title ${terms}`,
191
+ q: `"[New ${name.replace(/^mingw-w64-/, '')} version]" ( ${version} OR v${version}) in:title ${terms}`,
192
192
})
193
193
if (data.total_count) body = `${body ? `${body}\n\n` : ''}This closes ${data.items[0].html_url}`
194
194
} catch (e) {
You can’t perform that action at this time.
0 commit comments