mirror of
https://github.com/gapmiss/blur.git
synced 2026-07-22 07:50:29 +00:00
fix: Read minAppVersion from manifest.json in release script instead of hardcoding.
This commit is contained in:
parent
4a79d7225a
commit
5d5daaeded
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ const VERSION_TYPES = {
|
|||
// Default settings
|
||||
const DEFAULT_VERSION_TYPE = VERSION_TYPES.PATCH;
|
||||
const RELEASE_FILES = ['main.js', 'manifest.json', 'styles.css'];
|
||||
const MIN_APP_VERSION = "0.15.0"
|
||||
const MIN_APP_VERSION = JSON.parse(readFileSync(path.resolve(process.cwd(), 'manifest.json'), 'utf8')).minAppVersion;
|
||||
|
||||
// Store original versions for rollback if needed
|
||||
let originalPackageVersion = '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue