Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 96d0588

Browse files
committed
publish-project.sh: try to exclude build/ correctly
It appears with new tar on Ubuntu 17.04, build/ does not get included with old way. Signed-off-by: Olev Kartau <olev.kartau@intel.com>
1 parent 9155b3a commit 96d0588

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/publish-project.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,10 @@ rsync -lv latest ${_RSYNC_DEST_BASE}/../
146146

147147
# create clean tarball of source, leaving out .git* and parts created by build and test stages
148148
cd $WORKSPACE
149-
_tar_file=`mktemp --suffix=.tar.gz`
149+
_tar_file=`mktemp --tmpdir=$WORKSPACE --suffix=.tar.gz`
150150
tar czf ${_tar_file} . \
151151
--transform "s,^\.,${JOB_NAME}-${CI_BUILD_ID},S" \
152-
--exclude 'bitbake*.log*' --exclude 'build' --exclude 'build.pre' \
152+
--exclude 'bitbake*.log*' --exclude=build --exclude=build.pre \
153153
--exclude 'buildhistory*' --exclude 'refkit_ci*' \
154154
--exclude '.git*' --exclude '*.testinfo.csv'
155155
rsync -av --remove-source-files --chmod=F644 ${_tar_file} ${_RSYNC_DEST_BASE}/${JOB_NAME}-${CI_BUILD_ID}.tar.gz

0 commit comments

Comments
 (0)