mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-03-05 13:20:20 -05:00
Use webpack environment variables in build.sh
This commit is contained in:
10
build.sh
10
build.sh
@@ -141,7 +141,7 @@ Build()
|
||||
ProgressEnd 'Build'
|
||||
}
|
||||
|
||||
RunGulp()
|
||||
RunWebpack()
|
||||
{
|
||||
ProgressStart 'yarn install'
|
||||
yarn install
|
||||
@@ -149,9 +149,9 @@ RunGulp()
|
||||
|
||||
LintUI
|
||||
|
||||
ProgressStart 'Running gulp'
|
||||
CheckExitCode yarn run build --production
|
||||
ProgressEnd 'Running gulp'
|
||||
ProgressStart 'Running webpack'
|
||||
CheckExitCode yarn run build --env production
|
||||
ProgressEnd 'Running webpack'
|
||||
}
|
||||
|
||||
CreateMdbs()
|
||||
@@ -447,7 +447,7 @@ esac
|
||||
UpdateVersionNumber
|
||||
Build
|
||||
CreateReleaseInfo
|
||||
RunGulp
|
||||
RunWebpack
|
||||
PackageMono
|
||||
PackageMacOS
|
||||
PackageMacOSApp
|
||||
|
||||
Reference in New Issue
Block a user