fix .public path

This commit is contained in:
hardy 2023-06-03 21:29:27 +08:00
parent 3a99ae0d73
commit e4a47d2f0d
No known key found for this signature in database
GPG Key ID: D1ED7F7A9ED520C3
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,12 @@ WORKDIR=$WORKBASE/$PNAME
if [[ $VERSION =~ NIGHTLY ]]; then
BUILD_NUMBER=$BUILD_DAY
fi
if [[ -d $WORKBASE/.public ]]; then
rm -rf $WORKBASE/.public
fi
if [[ -d $WORKDIR/.public ]]; then
mv $WORKDIR/.public $WORKBASE
fi
export DOCKER_CLI_EXPERIMENTAL=enabled
#clean all