Преглед изворни кода

workflow: recover version when error occurred (#5493) [ci skip]

Cloyd Lau пре 4 година
родитељ
комит
209483bed1
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      scripts/release.js

+ 1 - 0
scripts/release.js

@@ -232,5 +232,6 @@ async function publishPackage(pkgName, version, runIfNotDry) {
 }
 
 main().catch(err => {
+  updateVersions(currentVersion)
   console.error(err)
 })