diff options
author | Diana Picus <diana.picus@linaro.org> | 2020-10-29 14:06:22 +0100 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2020-11-04 11:18:55 +0100 |
commit | e652030b7adfac06a6d15913c945b791f4ba4f9f (patch) | |
tree | 61af559eadc1aab60da172951be1f78c1210adf6 | |
parent | fd7682fdc7dfd92a9f451bf403b96bc73113caa3 (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
-rwxr-xr-x | tcwg-llvm-release.sh | 5 |
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 |