chore: dont check version when publishing (#14183)
This commit is contained in:
parent
26248323b4
commit
69f28aea2e
1 changed files with 0 additions and 3 deletions
|
@ -4,7 +4,6 @@ const path = require('path')
|
|||
const childProcess = require('child_process')
|
||||
const GitHubApi = require('github')
|
||||
const request = require('request')
|
||||
const assert = require('assert')
|
||||
const rootPackageJson = require('../package.json')
|
||||
|
||||
if (!process.env.ELECTRON_NPM_OTP) {
|
||||
|
@ -124,8 +123,6 @@ new Promise((resolve, reject) => {
|
|||
env: Object.assign({}, process.env, { electron_config_cache: tempDir }),
|
||||
cwd: tempDir
|
||||
})
|
||||
const checkVersion = childProcess.execSync(`${path.join(tempDir, 'node_modules', '.bin', 'electron')} -v`)
|
||||
assert.ok((`v${rootPackageJson.version}`.indexOf(checkVersion.toString().trim()) === 0), `Version is correct`)
|
||||
resolve(tarballPath)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue