summaryrefslogtreecommitdiff
path: root/tcwg-llvm-release.sh
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2017-05-05 18:58:55 +0100
committerRenato Golin <renato.golin@linaro.org>2017-05-08 18:28:01 +0100
commit22259b91409bac424d562ac7519bf70d34df0996 (patch)
treeb260cd8f284a8948eb9a645de7c705317b627d3b /tcwg-llvm-release.sh
parent1f4988986deb6742189aa180609ab474cfc4612e (diff)
tcwg-llvm-*: Always use build ID and rev to identify builds
To make sure stage two builds the same revision as stage 1 and to correctly identify the SVN revision of an LLVM build, calculate the SVN revision if one it not provided. Always passing down toolchain and revision, as they should always be available at that point. The test-suite job is free to ignore it. Change-Id: I5a79284ac4fbc5a42e5d85e69f39a8c6d68e0cc6
Diffstat (limited to 'tcwg-llvm-release.sh')
-rwxr-xr-xtcwg-llvm-release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-llvm-release.sh b/tcwg-llvm-release.sh
index 9e19cdb0..dbc5a89e 100755
--- a/tcwg-llvm-release.sh
+++ b/tcwg-llvm-release.sh
@@ -173,7 +173,7 @@ cd "$WORKSPACE/$RCDIR" && scp "$PKGNAME.$PUSHSUFFIX" "$(push_scp_url "$PUSHTYPE"
# Create toolchain file (wget URL)
if [ "$TOOLCHAIN_FILE" != "" ]; then
- echo "$(push_wget_url "$PKGTAG" "$TARGET" "$PUSHTYPE")" >> "$TOOLCHAIN_FILE"
+ echo "toolchain=$(push_wget_url "$PKGTAG" "$TARGET" "$PUSHTYPE")" >> "$TOOLCHAIN_FILE"
fi
exit $result