From 209483bed11ca62f69318c2237ea10caf2ec513e Mon Sep 17 00:00:00 2001 From: Cloyd Lau <31238760+cloydlau@users.noreply.github.com> Date: Fri, 13 May 2022 08:15:13 +0800 Subject: [PATCH] workflow: recover version when error occurred (#5493) [ci skip] --- scripts/release.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/release.js b/scripts/release.js index 69edcbca..05f05f76 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -232,5 +232,6 @@ async function publishPackage(pkgName, version, runIfNotDry) { } main().catch(err => { + updateVersions(currentVersion) console.error(err) })