diff options
author | Colin Cross <ccross@android.com> | 2015-11-11 17:55:23 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2015-11-16 15:23:42 -0800 |
commit | b147d6f3236ca8c4b0d37715195e38f019b6a37c (patch) | |
tree | dbfffcf914ced5e0878b867e6cf01cf038763c13 /build-common.sh | |
parent | b5edd905d43e1a0ce8052ab85172c99f5d2c626f (diff) | |
download | linux-x86-b147d6f3236ca8c4b0d37715195e38f019b6a37c.tar.gz |
Adding binaries for master-eda391df8e36android-n-preview-1brillo-m9-releasebrillo-m9-devbrillo-m8-releasebrillo-m8-devbrillo-m10-releasebrillo-m10-dev
Changes since v1.6.0:
eda391df8e36 Print status when edge finishes on dumb terminals
c340ca129272 Merge tag 'v1.6.0' into master
d99e75e05590 Initial empty repository
Change-Id: I83b1d4664f3cd8492b9ff8a9a91dc6c1def7fac2
Diffstat (limited to 'build-common.sh')
-rw-r--r-- | build-common.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build-common.sh b/build-common.sh index f84a9e3..9f0029b 100644 --- a/build-common.sh +++ b/build-common.sh @@ -99,12 +99,16 @@ commit_and_push() GIT_REPO="$SCRATCH/prebuilts/$PROJ/$OS-x86" cd $GIT_REPO git rm -r * || true # ignore error caused by empty directory + if [ -n "${EXTRA_FILE}" ]; then + git reset -- $EXTRA_FILE + git checkout HEAD -- $EXTRA_FILE + fi mv $INSTALL/* $GIT_REPO cp $SCRIPT_FILE $GIT_REPO cp $COMMON_FILE $GIT_REPO git add . - git commit -m "Adding binaries for $INSTALL_VER" + git commit -m "Adding binaries for ${INSTALL_VER}${EXTRA_COMMIT_MSG}" # execute this command to upload #git push origin HEAD:refs/for/master |