Skip to content

Commit 968bfb2

Browse files
committed
initialize-releases: continue with the next releases
The first release was successfully uploaded to https://github.com/git-for-windows/pacman-repo/releases/tag/2018-02-05T23-28-59.000Z Now that things seem to work, it's time to continue with all other releases. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 56f8d30 commit 968bfb2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/initialize-releases.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,21 @@ jobs:
3030
return stdout
3131
}
3232
33-
let startAfter = 'Mon Feb 05 2018 23:28:59 GMT+0000 (Coordinated Universal Time)'
33+
let startAfter = '2018-02-05T23:28:59.000Z'
3434
const baseURL = 'https://wingit.blob.core.windows.net/'
3535
for (const release of list) {
36+
console.log(JSON.stringify(release, null, 2))
37+
3638
if (startAfter) {
37-
if (`${release.date}` === startAfter) {
39+
if ((new Date(release.date)).toISOString() === startAfter) {
3840
startAfter = null
41+
continue
3942
} else {
4043
console.log(`skipping ${release.date}`)
4144
continue
4245
}
4346
}
4447
45-
console.log(JSON.stringify(release, null, 2))
4648
const targets = []
4749
for (name of release.names) {
4850
const target = name.replace(/.*\//, '')
@@ -63,6 +65,5 @@ jobs:
6365
(new Date(release.date)).toString(),
6466
(new Date(release.date)).toISOString().replace(/:/g, '-'),
6567
...targets])
66-
break
6768
}
6869

0 commit comments

Comments
 (0)