Skip to content

Commit 217f767

Browse files
committed
upload-snapshot: include the Git for Windows installers in the snapshots again
This was a clear oversight of mine: the `Min` and `Portable` prefix before `Git` are _optional_, otherwise _only_ MinGits and PortableGits get included in the snapshot (which is what happened over the past couple of snapshots, which I will have to fix separately). Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 6e4fa1d commit 217f767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/upload-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
const assetsToUpload = directories
133133
.map(directory => fs
134134
.readdirSync(directory)
135-
.filter(file => file.match(/^(Min|Portable)Git-.*\.(exe|zip)$/))
135+
.filter(file => file.match(/^(Min|Portable)?Git-.*\.(exe|zip)$/))
136136
.map(file => `${directory}/${file}`))
137137
.flat()
138138
if (assetsToUpload.length === 0) throw new Error(`No assets to upload!`)

0 commit comments

Comments
 (0)