aboutsummaryrefslogtreecommitdiff
path: root/contrib/publish-prebuilt-dir.sh
blob: a636c6de64203fa009e7745dc346be0aa26f3f3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# this script is part of the make prebuilt procedure
# is expected on the root folder

# create a commit message with the commit id
COMMIT=$(git rev-parse --verify HEAD)
MSG="built from ${COMMIT}"

# after building process has copy everything into 
# the prebuilt folder
cd prebuilt
git commit -m "$MSG" -a
git show --stat
echo "ready to push"