add git-build script
This commit is contained in:
7
git-build.sh
Executable file
7
git-build.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
ORIGIN_NAME=$(git symbolic-ref HEAD | sed 's!refs\/heads\/!!'| sed 's!build\/!!')
|
||||
BUILD_DATE=$(date --utc)
|
||||
|
||||
git checkout -B "build/$ORIGIN_NAME"
|
||||
git add --all
|
||||
git commit -m "build from $BUILD_DATE"
|
||||
Reference in New Issue
Block a user