This commit is contained in:
Simon Cambier
2022-04-30 21:32:24 +02:00
parent ba56898170
commit 0072f14ef6
4 changed files with 6 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
{ {
"id": "omnisearch", "id": "omnisearch",
"name": "Omnisearch", "name": "Omnisearch",
"version": "1.0.1", "version": "1.1.0",
"minAppVersion": "0.14.2", "minAppVersion": "0.14.2",
"description": "A search engine that just works", "description": "A search engine that just works",
"author": "Simon Cambier", "author": "Simon Cambier",

View File

@@ -1,6 +1,6 @@
{ {
"name": "scambier.obsidian-search", "name": "scambier.obsidian-search",
"version": "1.0.1", "version": "1.1.0",
"description": "A search engine for Obsidian", "description": "A search engine for Obsidian",
"main": "dist/main.js", "main": "dist/main.js",
"scripts": { "scripts": {

View File

@@ -3,10 +3,10 @@ import { readFileSync, writeFileSync } from 'fs'
const targetVersion = process.env.npm_package_version const targetVersion = process.env.npm_package_version
// read minAppVersion from manifest.json and bump version to target version // read minAppVersion from manifest.json and bump version to target version
const manifest = JSON.parse(readFileSync('manifest.json', 'utf8')) const manifest = JSON.parse(readFileSync('manifest-beta.json', 'utf8'))
const { minAppVersion } = manifest const { minAppVersion } = manifest
manifest.version = targetVersion manifest.version = targetVersion
writeFileSync('manifest.json', JSON.stringify(manifest, null, '\t')) writeFileSync('manifest-beta.json', JSON.stringify(manifest, null, '\t'))
// update versions.json with target version and minAppVersion from manifest.json // update versions.json with target version and minAppVersion from manifest.json
const versions = JSON.parse(readFileSync('versions.json', 'utf8')) const versions = JSON.parse(readFileSync('versions.json', 'utf8'))

View File

@@ -15,5 +15,6 @@
"0.2.4": "0.14.2", "0.2.4": "0.14.2",
"0.2.5": "0.14.2", "0.2.5": "0.14.2",
"1.0.0": "0.14.2", "1.0.0": "0.14.2",
"1.0.1": "0.14.2" "1.0.1": "0.14.2",
"1.1.0": "0.14.2"
} }