blessing-skin-server/scripts/release.sh
2019-03-18 10:02:35 +08:00

25 lines
354 B
Bash

#!/bin/bash
set -e
composer install --no-dev
rm -rf vendor/bin
yarn
yarn build
cp .env.example .env
zip -9 -r blessing-skin-server-$RELEASE_TAG.zip \
app \
bootstrap \
config \
database \
plugins \
public \
resources/lang \
resources/views \
routes \
storage \
vendor \
.env \
artisan \
LICENSE \
README.md \
README_EN.md