17 lines
341 B
Bash
Executable File
17 lines
341 B
Bash
Executable File
#!/usr/bin/bash -e
|
|
|
|
BUILD_DIR=/data/openpilot
|
|
cd $BUILD_DIR
|
|
git init
|
|
#git remote add origin https://github.com/ajouatom/openpilot
|
|
git remote set-url --push origin http://192.168.3.203:8418/mawei/onepilot.git
|
|
|
|
|
|
# Add built files to git
|
|
git add -f .
|
|
|
|
VERSION="release"
|
|
git commit -m $VERSION
|
|
git branch -m $VERSION
|
|
git push -f origin $VERSION
|