mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-15 05:10:47 +08:00
fix: npm publish bug
This commit is contained in:
parent
5629b6798d
commit
b2261e7a5b
@ -1,7 +1,7 @@
|
||||
const shell = require ('shelljs');
|
||||
const packageJson = require ('./package.json');
|
||||
|
||||
const version = packageJson.version;
|
||||
const version = "v" + packageJson.version;
|
||||
|
||||
if(!version){
|
||||
console.error('version 不能为空')
|
||||
|
Loading…
Reference in New Issue
Block a user