We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da02baf commit 1b43380Copy full SHA for 1b43380
scripts/src/release.ts
@@ -171,6 +171,13 @@ function updateVersionFiles(version: string): void {
171
packageJson.version = version;
172
writeFileSync(packagePath, `${JSON.stringify(packageJson, null, 2)}\n`);
173
174
+ // Update manifest.minAppVersion with the obsidian version from plugin/package.json
175
+ const obsidianVersion = packageJson.dependencies?.obsidian;
176
+ if (obsidianVersion) {
177
+ manifest.minAppVersion = obsidianVersion;
178
+ writeFileSync(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`);
179
+ }
180
+
181
// Update versions.json
182
const versionsPath = join(REPO_ROOT, "versions.json");
183
const versions = JSON.parse(readFileSync(versionsPath, "utf-8"));
0 commit comments