Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Commit 910d679

Browse files
author
Gunnar Andersson
committed
ci-scripts: Make tarball of sources
There are continued problems with artifact upload for some files under sources. For now, create a tarball to avoid those issues. Signed-off-by: Gunnar Andersson <gandersson@genivi.org>
1 parent 4671b63 commit 910d679

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/ci-build.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,8 +550,10 @@ if [[ "$CREATE_RELEASE_DIR" == "true" ]]; then
550550
mkdir -p release
551551
echo "Moving images to release/"
552552
mv staging/images release/ 2>/dev/null || true
553-
echo "Moving staging/sources to release/"
554-
cp -a staging/sources release/ 2>/dev/null
553+
echo "Archiving staging/sources to release/"
554+
cd staging
555+
tar cf ../release/sources.tar sources && mv sources "$BASEDIR/sources"
556+
cd "$BASEDIR"
555557
echo "Moving staging/licenses into release/"
556558
mv staging/licenses release/
557559
echo "Copying various metadata to release"

0 commit comments

Comments
 (0)