mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 修改版本号
This commit is contained in:
parent
1edfe81794
commit
2e39f0bc98
1 changed files with 2 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ const defaultConfig = {
|
|||
debug: true,
|
||||
defaultTimeoutMs: 120000,
|
||||
chromeTimeoutMS: 120000,
|
||||
version: 'v2.0.14'
|
||||
version: 'v2.0.15'
|
||||
}
|
||||
const _path = process.cwd()
|
||||
let config = {}
|
||||
|
|
@ -83,6 +83,7 @@ if (fs.existsSync(`${_path}/plugins/chatgpt-plugin/config/config.json`)) {
|
|||
}
|
||||
}
|
||||
config = Object.assign({}, defaultConfig, config)
|
||||
config.version = defaultConfig.version
|
||||
// const latestTag = execSync(`cd ${_path}/plugins/chatgpt-plugin && git describe --tags --abbrev=0`).toString().trim()
|
||||
// config.version = latestTag
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue