mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-14 16:45:59 +00:00
Automate and validate the release flow (#998)
* improve release flow * limit permission * Test and harden the release workflow * Keep workspace lockfile versions aligned * Run release regression tests in CI
This commit is contained in:
+4
-4
@@ -10,8 +10,8 @@ writeFileSync("manifest.json", JSON.stringify(manifest, null, 4));
|
||||
|
||||
// update versions.json with target version and minAppVersion from manifest.json
|
||||
// but only if the target version is not already in versions.json
|
||||
const versions = JSON.parse(readFileSync('versions.json', 'utf8'));
|
||||
if (!Object.values(versions).includes(minAppVersion)) {
|
||||
const versions = JSON.parse(readFileSync("versions.json", "utf8"));
|
||||
if (!(targetVersion in versions)) {
|
||||
versions[targetVersion] = minAppVersion;
|
||||
writeFileSync('versions.json', JSON.stringify(versions, null, 4));
|
||||
}
|
||||
writeFileSync("versions.json", JSON.stringify(versions, null, 4));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user