Browse Source

chore: add flag to skip version check (#14145)

Samuel Attard 6 years ago
parent
commit
840db11a92
1 changed files with 2 additions and 0 deletions
  1. 2 0
      script/release.js

+ 2 - 0
script/release.js

@@ -141,6 +141,8 @@ function s3UrlsForVersion (version) {
 }
 
 function checkVersion () {
+  if (args.skipVersionCheck) return
+
   console.log(`Verifying that app version matches package version ${pkgVersion}.`)
   let startScript = path.join(__dirname, 'start.py')
   let scriptArgs = ['--version']