Skip to content

Commit

Permalink
fix: 修改版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
ikechan8370 committed Mar 4, 2023
1 parent 1edfe81 commit 2e39f0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 2e39f0b

Please sign in to comment.