diff --git a/.gitea/workflows/windows-ci.yml b/.gitea/workflows/windows-ci.yml index 02d8507..be83ac3 100644 --- a/.gitea/workflows/windows-ci.yml +++ b/.gitea/workflows/windows-ci.yml @@ -47,7 +47,12 @@ jobs: run: npm run build timeout-minutes: 10 - name: Package directory - run: npm run pack + run: | + npm run pack + if ($LASTEXITCODE -ne 0) { + npm run pack + if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } + } timeout-minutes: 10 - name: Packaged launch smoke run: npm run test:packaged-launch diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml index 02d8507..be83ac3 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -47,7 +47,12 @@ jobs: run: npm run build timeout-minutes: 10 - name: Package directory - run: npm run pack + run: | + npm run pack + if ($LASTEXITCODE -ne 0) { + npm run pack + if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } + } timeout-minutes: 10 - name: Packaged launch smoke run: npm run test:packaged-launch diff --git a/CHANGELOG.md b/CHANGELOG.md index 02ef72c..989061d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.12 - 2026-08-12 + +- Retry transient Electron download failures once while packaging on Windows CI. + ## 1.0.11 - 2026-08-12 - Stabilize the Windows CI secure-storage test without invoking Electron's binary bootstrap outside Electron. diff --git a/README.md b/README.md index b90353e..500df4c 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ The application works in public mode without a Twitch login. Connecting a Twitch ## Installation 1. Open the [latest GitHub release](https://github.com/Sucukdeluxe/Twitch-VOD-Manager/releases/latest). -2. Download `Twitch-VOD-Manager-Setup-1.0.11.exe`. +2. Download `Twitch-VOD-Manager-Setup-1.0.12.exe`. 3. Run the installer and choose the installation directory. 4. Start Twitch VOD Manager and add a streamer. diff --git a/package-lock.json b/package-lock.json index 20df66b..71a4f87 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "twitch-vod-manager", - "version": "1.0.11", + "version": "1.0.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "twitch-vod-manager", - "version": "1.0.11", + "version": "1.0.12", "license": "MIT", "dependencies": { "axios": "^1.16.1", diff --git a/package.json b/package.json index 9973d34..39d9870 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "twitch-vod-manager", - "version": "1.0.11", + "version": "1.0.12", "description": "Twitch VOD Manager - Download Twitch VODs easily", "main": "dist/main.js", "author": "Sucukdeluxe", diff --git a/scripts/dev.mjs b/scripts/dev.mjs index 8fa1cf9..bf1666f 100644 --- a/scripts/dev.mjs +++ b/scripts/dev.mjs @@ -93,7 +93,7 @@ if (process.platform === 'win32') { sourcePath: electronSourceExecutable, destinationPath: resolve(rootDirectory, 'node_modules', 'electron', 'dist', 'Twitch VOD Manager.exe'), iconPath: resolve(rootDirectory, 'build', 'icon.ico'), - version: '1.0.11', + version: '1.0.12', }); } diff --git a/scripts/smoke-test-ci-contract.js b/scripts/smoke-test-ci-contract.js index 0264fc5..7c42ae8 100644 --- a/scripts/smoke-test-ci-contract.js +++ b/scripts/smoke-test-ci-contract.js @@ -50,8 +50,9 @@ for (const relativePath of ['.github/workflows/windows-ci.yml', '.gitea/workflow check(/runs-on:\s*windows-latest/.test(source), `${relativePath} does not use a Windows runner`); check(/node-version:\s*['"]?24\.11\.1['"]?/.test(source), `${relativePath} does not pin Node 24.11.1`); for (const command of requiredCommands) { - check(source.includes(`run: ${command}`), `${relativePath} is missing ${command}`); + check(source.includes(command), `${relativePath} is missing ${command}`); } + check(source.includes('if ($LASTEXITCODE -ne 0)') && source.match(/npm run pack/g)?.length >= 2, `${relativePath} does not retry transient package failures`); const runSteps = source.split(/\r?\n/).filter((line) => /^\s+run:\s+/.test(line)); const timeoutSteps = source.split(/\r?\n/).filter((line) => /^\s+timeout-minutes:\s*10\s*$/.test(line)); check(timeoutSteps.length >= runSteps.length, `${relativePath} does not cap every command at ten minutes`); diff --git a/scripts/smoke-test-public-release-config.js b/scripts/smoke-test-public-release-config.js index c8f1dec..5644468 100644 --- a/scripts/smoke-test-public-release-config.js +++ b/scripts/smoke-test-public-release-config.js @@ -15,9 +15,9 @@ function check(condition, message) { if (!condition) failures.push(message); } -check(packageJson.version === '1.0.11', `package version is ${packageJson.version}`); -check(packageLock.version === '1.0.11', `lockfile version is ${packageLock.version}`); -check(packageLock.packages?.['']?.version === '1.0.11', `lockfile root package version is ${packageLock.packages?.['']?.version}`); +check(packageJson.version === '1.0.12', `package version is ${packageJson.version}`); +check(packageLock.version === '1.0.12', `lockfile version is ${packageLock.version}`); +check(packageLock.packages?.['']?.version === '1.0.12', `lockfile root package version is ${packageLock.packages?.['']?.version}`); check(packageJson.build?.appId === 'io.github.sucukdeluxe.twitch-vod-manager', `appId is ${packageJson.build?.appId}`); check(packageJson.build?.publish?.provider === 'generic', `publish provider is ${packageJson.build?.publish?.provider}`); check(packageJson.build?.publish?.url === 'https://github.com/Sucukdeluxe/Twitch-VOD-Manager/releases/latest/download/', `publish URL is ${packageJson.build?.publish?.url}`); @@ -65,7 +65,7 @@ check(mainSource.includes('GITHUB_RELEASES_DOWNLOAD_BASE_URL'), 'GitHub releases check(mainSource.includes('https://api.github.com/repos/Sucukdeluxe/Twitch-VOD-Manager/releases/latest'), 'GitHub latest release API URL is missing'); check(mainSource.includes('https://github.com/Sucukdeluxe/Twitch-VOD-Manager/releases/download'), 'GitHub release download URL is missing'); check(!/storyboards\/\d{8,12}(?:-|\/)/.test(mainSource), 'numeric Twitch VOD example remains in the public source'); -check(indexSource.includes('Version: v1.0.11'), 'initial version label is not 1.0.11'); +check(indexSource.includes('Version: v1.0.12'), 'initial version label is not 1.0.12'); check(!indexSource.includes('Version: v4.1.13'), 'legacy version label is still present'); check(fs.existsSync(manifestPath), 'public release manifest is missing'); diff --git a/src/index.html b/src/index.html index bf25c5c..cb28d4e 100644 --- a/src/index.html +++ b/src/index.html @@ -940,7 +940,7 @@
Version: v1.0.11
+Version: v1.0.12