From 9d1ddc4b9be42d050f049acd30d2fbf7776fb247 Mon Sep 17 00:00:00 2001 From: Ivan S Glazunov Date: Mon, 22 Jul 2024 13:06:46 +0000 Subject: [PATCH] sync version fix --- package.json | 2 +- sync-version.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e391903..0009ff8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@deep-foundation/perception-app", - "version": "0.0.21", + "version": "0.0.22", "description": "", "license": "Unlicense", "main": "./bin/server.js", diff --git a/sync-version.js b/sync-version.js index 3a5cc04..76e950e 100644 --- a/sync-version.js +++ b/sync-version.js @@ -2,5 +2,5 @@ const fs = require('fs'); const path = require('path'); const nextPckg = JSON.parse(fs.readFileSync(path.join(__dirname, 'package.json'), 'utf8')); const electronPckg = JSON.parse(fs.readFileSync(path.join(__dirname, 'electron', 'package.json'), 'utf8')); -electronPckg.id = nextPckg.id; +electronPckg.version = nextPckg.version; fs.writeFileSync(path.join(__dirname, 'electron', 'package.json'), JSON.stringify(electronPckg)); \ No newline at end of file