Fix jenkins script / redeployer
and make them re-use the package script rather than doing their own thing
This commit is contained in:
parent
c8a6be1454
commit
3b06563960
3 changed files with 13 additions and 15 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
set -e
|
||||
|
||||
dev=""
|
||||
if [ "$1" == '-d' ]; then
|
||||
dev=":dev"
|
||||
fi
|
||||
|
||||
if [ -n "$DIST_VERSION" ]; then
|
||||
version=$DIST_VERSION
|
||||
else
|
||||
|
@ -9,7 +14,7 @@ else
|
|||
fi
|
||||
|
||||
npm run clean
|
||||
npm run build
|
||||
npm run build$dev
|
||||
mkdir -p dist
|
||||
cp -r webapp vector-$version
|
||||
echo $version > vector-$version/version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue