Compare commits
2 Commits
a57519adce
...
d9290f7262
Author | SHA1 | Date |
---|---|---|
|
d9290f7262 | |
|
81b6846261 |
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.7.18",
|
||||
"version": "1.7.20",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "mcopy-app",
|
||||
"version": "1.7.18",
|
||||
"version": "1.7.20",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "mcopy-app",
|
||||
"version": "1.7.18",
|
||||
"version": "1.7.20",
|
||||
"description": "GUI for the mcopy small gauge film optical printer platform",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.7.18",
|
||||
"version": "1.7.20",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "mcopy",
|
||||
"version": "1.7.18",
|
||||
"version": "1.7.20",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mcopy",
|
||||
"version": "1.7.18",
|
||||
"version": "1.7.20",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"arduino": "file:app/lib/arduino",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "mcopy",
|
||||
"version": "1.7.18",
|
||||
"version": "1.7.20",
|
||||
"description": "Small gauge film optical printer platform",
|
||||
"main": "build.js",
|
||||
"directories": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.7.18",
|
||||
"version": "1.7.20",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
|
|
@ -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
|
|
@ -1,3 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
npm run patch
|
||||
branch_name=`sh ./scripts/branch_name.sh`
|
||||
|
||||
if [[ "${branch_name}" == "main" ]]; then
|
||||
npm run patch
|
||||
else
|
||||
echo "no pre-commit on branch ${branch_name}"
|
||||
fi
|
Loading…
Reference in New Issue