Skip to content

Commit 8568824

Browse files
author
Vano
committed
helper script
1 parent 21e69b8 commit 8568824

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

generate.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
# Helper to generate + commit to both dev branch and master
3+
MASTER_DIR="$1"
4+
./generate.py "$MASTER_DIR" || exit 1
5+
git commit -a || exit 1
6+
7+
REF_SHORT=$(git rev-parse @ | head -c8)
8+
9+
cd "$MASTER_DIR"
10+
git commit -a -m "Sync with $REF_SHORT" || exit 1

0 commit comments

Comments
 (0)