summaryrefslogtreecommitdiff
path: root/tcwg-llvm-release.sh
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2020-10-29 14:06:22 +0100
committerDiana Picus <diana.picus@linaro.org>2020-11-04 11:18:55 +0100
commite652030b7adfac06a6d15913c945b791f4ba4f9f (patch)
tree61af559eadc1aab60da172951be1f78c1210adf6 /tcwg-llvm-release.sh
parentfd7682fdc7dfd92a9f451bf403b96bc73113caa3 (diff)
tcwg-llvm-release: Copy release to artifacts
Copy the release archive to $WORKSPACE/artifacts. At the moment this also preserves the upload via ssh, until I get a functional artifact upload. Change-Id: I08465ad9a27b92a468848afc18c5e8be774ceb4b
Diffstat (limited to 'tcwg-llvm-release.sh')
-rwxr-xr-xtcwg-llvm-release.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tcwg-llvm-release.sh b/tcwg-llvm-release.sh
index 8574e813..e5746231 100755
--- a/tcwg-llvm-release.sh
+++ b/tcwg-llvm-release.sh
@@ -196,12 +196,15 @@ result=0
) &
wait $! || result=$?
-# Ship
PKGTAG="$RELEASE$RCTAG"
PKGNAME="$(push_binary_name "$PKGTAG" "$TARGET")"
PUSHTYPE="releases"
PUSHDIR="$(push_binary_dir "$PUSHTYPE")"
+# Ship
+mkdir "$WORKSPACE/artifacts"
+cp "$WORKSPACE/$RCDIR/$PKGNAME.$PUSHSUFFIX" "$WORKSPACE/artifacts/"
+
# Force port 22, otherwise our .ssh/config will connect to the host container by
# default and we won't be able to access the upload directory
ssh -p 22 $PUSHSERVER mkdir -p $PUSHDIR