mirror of
https://github.com/kami-blue/client
synced 2025-02-09 16:57:11 +00:00
Added support for diffs in nightly
This commit is contained in:
parent
d02fdecfcd
commit
24e095e3c2
@ -2,17 +2,21 @@
|
||||
|
||||
cd ~/kamiblue/
|
||||
export COMMIT_LAST="$(git log --format=%h -1)"
|
||||
git fetch kamiblue
|
||||
export COMMIT_LAST_FULL="$(git log --format=%H -1)"
|
||||
|
||||
git fetch kamiblue master
|
||||
git fetch origin master
|
||||
git reset --hard kamiblue/master
|
||||
git push --force origin master
|
||||
|
||||
export COMMIT_TRIM="$(git log --format=%h -1)"
|
||||
|
||||
if [ "$COMMIT_LAST" == "$COMMIT_TRIM" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
fi
|
||||
rm -rf build/libs
|
||||
|
||||
./scripts/preHook.sh
|
||||
./gradlew build
|
||||
./scripts/hook.sh
|
||||
./scripts/hook.sh
|
Loading…
Reference in New Issue
Block a user