Merge "Adjust build script to not use rev-parse"
This commit is contained in:
commit
e595595163
@ -26,7 +26,9 @@ ASTARA_DEBIAN_RELEASE=${ASTARA_DEBIAN_RELEASE:-"jessie"}
|
||||
BASE_ELEMENTS="vm debian astara nginx"
|
||||
EXTRA_ELEMENTS="$@"
|
||||
|
||||
GIT_HEAD="$(cd $SRC_ROOT && git rev-parse HEAD^)"
|
||||
GIT_HEAD="$(cd $SRC_ROOT && git log | head -n1 | awk '{ print $2 }')"
|
||||
|
||||
echo "Building astara-appliance from $GIT_HEAD"
|
||||
|
||||
DIB_REPOLOCATION_astara=$SRC_ROOT \
|
||||
DIB_REPOREF_astara=$GIT_HEAD \
|
||||
|
Loading…
Reference in New Issue
Block a user