From 46f7766680496ed983db43dc25178755229c6427 Mon Sep 17 00:00:00 2001 From: Shmavon Gazanchyan Date: Sun, 23 Jun 2024 22:37:03 +0100 Subject: [PATCH] Bump version 1.6.2 --- manifest.json | 16 ++++++++-------- package.json | 2 +- version-bump.mjs | 14 -------------- versions.json | 23 ++++++++++++----------- 4 files changed, 21 insertions(+), 34 deletions(-) delete mode 100644 version-bump.mjs diff --git a/manifest.json b/manifest.json index a1d5ba6..ad18755 100644 --- a/manifest.json +++ b/manifest.json @@ -1,10 +1,10 @@ { - "id": "zotero-bridge", - "name": "Zotero Bridge", - "version": "1.6.1", - "minAppVersion": "0.12.0", - "description": "Zotero integration", - "author": "Shmavon Gazanchyan", - "authorUrl": "https://github.com/MunGell", - "isDesktopOnly": true + "id": "zotero-bridge", + "name": "Zotero Bridge", + "version": "1.6.2", + "minAppVersion": "0.12.0", + "description": "Zotero integration", + "author": "Shmavon Gazanchyan", + "authorUrl": "https://github.com/MunGell", + "isDesktopOnly": true } diff --git a/package.json b/package.json index 0d468af..0ee0622 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vanakat/zotero-bridge", - "version": "1.6.1", + "version": "1.6.2", "description": "Zotero integration plugin", "main": "main.js", "types": "main.d.ts", diff --git a/version-bump.mjs b/version-bump.mjs deleted file mode 100644 index d409fa0..0000000 --- a/version-bump.mjs +++ /dev/null @@ -1,14 +0,0 @@ -import { readFileSync, writeFileSync } from "fs"; - -const targetVersion = process.env.npm_package_version; - -// read minAppVersion from manifest.json and bump version to target version -let manifest = JSON.parse(readFileSync("manifest.json", "utf8")); -const { minAppVersion } = manifest; -manifest.version = targetVersion; -writeFileSync("manifest.json", JSON.stringify(manifest, null, "\t")); - -// update versions.json with target version and minAppVersion from manifest.json -let versions = JSON.parse(readFileSync("versions.json", "utf8")); -versions[targetVersion] = minAppVersion; -writeFileSync("versions.json", JSON.stringify(versions, null, "\t")); diff --git a/versions.json b/versions.json index e7c7574..7aac490 100644 --- a/versions.json +++ b/versions.json @@ -1,16 +1,17 @@ { - "1.0.0": "0.12.0", - "1.1.0": "0.12.0", - "1.1.1": "0.12.0", - "1.2.0": "0.12.0", - "1.2.1": "0.12.0", - "1.2.2": "0.12.0", - "1.2.3": "0.12.0", - "1.3.0": "0.12.0", - "1.4.0": "0.12.0", - "1.4.1": "0.12.0", + "1.0.0": "0.12.0", + "1.1.0": "0.12.0", + "1.1.1": "0.12.0", + "1.2.0": "0.12.0", + "1.2.1": "0.12.0", + "1.2.2": "0.12.0", + "1.2.3": "0.12.0", + "1.3.0": "0.12.0", + "1.4.0": "0.12.0", + "1.4.1": "0.12.0", "1.4.2": "0.12.0", "1.5.0": "0.12.0", "1.6.0": "0.12.0", - "1.6.1": "0.12.0" + "1.6.1": "0.12.0", + "1.6.2": "0.12.0" }