chore: log the error that is caught when finalizing a release (#716)

This commit is contained in:
Dave Rolsky
2026-01-11 10:15:15 +08:00
committed by GitHub
parent 5122b4edc9
commit 026d617849
2 changed files with 6 additions and 5 deletions

8
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -392,7 +392,8 @@ export const finalizeRelease = async (
});
return data;
} catch {
} catch (error) {
console.warn(`error finalizing release: ${error}`)
console.log(`retrying... (${maxRetries - 1} retries remaining)`);
return finalizeRelease(config, releaser, release, maxRetries - 1);
}