From 779f8f7dda83b5a4a64a24ddbc9633d60aaccca6 Mon Sep 17 00:00:00 2001 From: Maciej Grula Date: Sat, 13 Jan 2024 12:27:03 +0100 Subject: [PATCH] versioning --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fd50b29..bdc2d7b 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "app:dir": "electron-builder --dir", "app:dist": "electron-builder", "release": "electron-builder", - "apply-version": "npm version patch && echo $npm_package_version && find . -path ./node_modules -prune -o -name \"*.js\" -print0 | xargs -0 sed -i '' -e \"s/const X_APP_VERSION \\=.*/const X_APP_VERSION \\= '$npm_package_version'/g\"", - "rc": "npm version patch && git push origin && git push origin --tags" + "apply-version": "echo $npm_package_version && find . -path ./node_modules -prune -o -name \"*.js\" -print0 | xargs -0 sed -i '' -e \"s/const X_APP_VERSION \\=.*/const X_APP_VERSION \\= '$npm_package_version'/g\"", + "rc": "npm version patch && apply-version && git push origin && git push origin --tags" }, "author": "LaaS Cloud OÜ", "license": "ISC",