1 !/bin/bash 2 # 3 # Generates a bundle of this project to share with partners. It produces a file 4 # with the name chre-$HEAD_HASH.bundle where $HEAD_HASH is the current ToT 5 # commit hash. 6 # 7 # Usage: 8 # ./bundle_chre.sh 9 10 BRANCH=goog/master 11 HEAD_HASH=`git describe --always --long $BRANCH` 12 git bundle create chre-$HEAD_HASH.bundle $BRANCH 13