Exclude target subdir from source for infra pubs
* infra-publications.yaml: Address the "cannot move _out to a subdirectory of itself" error which prematurely terminates the infra-publications-publish job. Change-Id: I091f5e9f6efe3e32295cc139c2db2b5e58c8924c
This commit is contained in:
parent
d8f93561f7
commit
f4ba69da10
@ -11,7 +11,11 @@
|
|||||||
# NAME will either be the branch name or the tag name
|
# NAME will either be the branch name or the tag name
|
||||||
NAME=`echo $ZUUL_REFNAME | sed 's/refs.tags.//'`
|
NAME=`echo $ZUUL_REFNAME | sed 's/refs.tags.//'`
|
||||||
mkdir -p _out/$NAME
|
mkdir -p _out/$NAME
|
||||||
mv * _out/$NAME
|
for FN in * ; do
|
||||||
|
if [ "_out" != "$FN" ] ; then
|
||||||
|
mv $FN _out/$NAME/
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
publishers:
|
publishers:
|
||||||
- ftp:
|
- ftp:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user