mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-21 02:04:26 +08:00
fix frontend building parameter
This commit is contained in:
@@ -116,7 +116,7 @@ build_backend() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
build_frontend() {
|
build_frontend() {
|
||||||
frontend_build_arguments="--";
|
frontend_build_arguments="";
|
||||||
|
|
||||||
if [ "$RELEASE" = "0" ]; then
|
if [ "$RELEASE" = "0" ]; then
|
||||||
frontend_build_arguments="$frontend_build_arguments --buildUnixTime=$BUILD_UNIXTIME"
|
frontend_build_arguments="$frontend_build_arguments --buildUnixTime=$BUILD_UNIXTIME"
|
||||||
@@ -126,7 +126,7 @@ build_frontend() {
|
|||||||
npm install
|
npm install
|
||||||
|
|
||||||
echo "Building frontend files ($RELEASE_TYPE)..."
|
echo "Building frontend files ($RELEASE_TYPE)..."
|
||||||
npm run build "$frontend_build_arguments"
|
npm run build -- "$frontend_build_arguments"
|
||||||
}
|
}
|
||||||
|
|
||||||
build_docker() {
|
build_docker() {
|
||||||
|
|||||||
Reference in New Issue
Block a user