diff --git a/app/package-lock.json b/app/package-lock.json index 9980f91..e541b10 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.7.3", + "version": "1.7.5", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/app/package.json b/app/package.json index 629c38f..3bfe6a8 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.7.2", + "version": "1.7.5", "description": "GUI for the mcopy small gauge film optical printer platform", "main": "main.js", "scripts": { diff --git a/data/cfg.json b/data/cfg.json index 59d8881..ced1b7e 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.7.3", + "version": "1.7.5", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/package-lock.json b/package-lock.json index 1413684..b260328 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy", - "version": "1.7.3", + "version": "1.7.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy", - "version": "1.7.3", + "version": "1.7.5", "license": "MIT", "dependencies": { "arduino": "file:app/lib/arduino", diff --git a/package.json b/package.json index f24b4c9..ee0e186 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.7.3", + "version": "1.7.4", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": { diff --git a/scripts/version.sh b/scripts/version.sh index ed67847..d983dc3 100644 --- a/scripts/version.sh +++ b/scripts/version.sh @@ -6,10 +6,13 @@ npm version --no-git-tag-version ${1} version=$(jq -r '.version' ./package.json) echo "VERSION: $version" +fit add ./package.json + declare -a fileArr=("./package-lock.json" "./data/cfg.json" "./app/package.json" "./app/package-lock.json") for i in "${fileArr[@]}" do tmp=$(mktemp) VERSION="$version" jq '.version = env.VERSION' "$i" > "$tmp" && mv "$tmp" "$i" + git add "$i" done \ No newline at end of file