diff --git a/app/data/cfg.json b/app/data/cfg.json index 2a62269..507faf4 100644 --- a/app/data/cfg.json +++ b/app/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.7.19", + "version": "1.7.20", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/app/package-lock.json b/app/package-lock.json index 4c6090d..c52834a 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.7.19", + "version": "1.7.20", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/app/package.json b/app/package.json index df9f997..1d9f35d 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.7.19", + "version": "1.7.20", "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 2a62269..507faf4 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.7.19", + "version": "1.7.20", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/package-lock.json b/package-lock.json index 92dd87b..a5ef0ff 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy", - "version": "1.7.19", + "version": "1.7.20", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy", - "version": "1.7.19", + "version": "1.7.20", "license": "MIT", "dependencies": { "arduino": "file:app/lib/arduino", diff --git a/package.json b/package.json index e7d955f..55bee30 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.7.19", + "version": "1.7.20", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": { diff --git a/processing/mcopy/cfg.json b/processing/mcopy/cfg.json index 2a62269..507faf4 100644 --- a/processing/mcopy/cfg.json +++ b/processing/mcopy/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.7.19", + "version": "1.7.20", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/scripts/branch_name.sh b/scripts/branch_name.sh new file mode 100644 index 0000000..5240625 --- /dev/null +++ b/scripts/branch_name.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +branch_name=$(git symbolic-ref -q HEAD) +branch_name=${branch_name##refs/heads/} +branch_name=${branch_name:-HEAD} + +echo $branch_name