Patch script now working

This commit is contained in:
Matt McWilliams 2023-02-19 01:22:44 -05:00
parent e754c65602
commit 4d9454daf2
5 changed files with 6 additions and 6 deletions

2
app/package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy-app", "name": "mcopy-app",
"version": "1.7.2", "version": "1.7.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {

View File

@ -1,5 +1,5 @@
{ {
"version": "1.7.2", "version": "1.7.3",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.7.2", "version": "1.7.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "mcopy", "name": "mcopy",
"version": "1.7.2", "version": "1.7.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"arduino": "file:app/lib/arduino", "arduino": "file:app/lib/arduino",

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.7.2", "version": "1.7.3",
"description": "Small gauge film optical printer platform", "description": "Small gauge film optical printer platform",
"main": "build.js", "main": "build.js",
"directories": { "directories": {

View File

@ -6,7 +6,7 @@ npm version --no-git-tag-version ${1}
version=$(jq -r '.version' ./package.json) version=$(jq -r '.version' ./package.json)
echo "VERSION: $version" echo "VERSION: $version"
declare -a fileArr=("./package-lock.json", "./data/cfg.json" "./app/package.json", "./app/package-lock.json") declare -a fileArr=("./package-lock.json" "./data/cfg.json" "./app/package.json" "./app/package-lock.json")
for i in "${fileArr[@]}" for i in "${fileArr[@]}"
do do