Better git revision prints.

This commit is contained in:
Fabio Alessandrelli
2021-07-08 23:15:16 +02:00
parent 7aca1a91b7
commit cdbc8ad69b

View File

@@ -23,9 +23,10 @@ jobs:
INTERNAL=$(curl --silent ${WEBRTC_URL}/+/${REVISION}?format=TEXT | base64 -d | tail -1 | egrep -o '{#([0-9]+)}' | tr -d '{}#' | cut -c1-7)
NAME="webrtc-${INTERNAL}-${REVISION:0:7}"
echo "Building branch: ${WEBRTC_URL}"
echo "Repository: ${WEBRTC_URL}"
echo "Branch: ${WEBRTC_BRANCH}"
echo "Revision: ${REVISION}"
echo "Internal revision: ${REVISION_INTERNAL}"
echo "Internal revision: ${INTERNAL}"
echo "Output: ${NAME}"
echo "::set-output name=revision::${REVISION}"