publish-prebuilt-dir.sh (357B)
1 #!/bin/bash 2 3 # this script is part of the make prebuilt procedure 4 # is expected on the root folder 5 6 # create a commit message with the commit id 7 COMMIT=$(git rev-parse --verify HEAD) 8 MSG="built from ${COMMIT}" 9 10 # after building process has copy everything into 11 # the prebuilt folder 12 cd prebuilt 13 git commit -m "$MSG" -a 14 git show --stat 15 echo "ready to push"