fix(releases): Updates release flow. Fixes windows builds (#482)
This commit is contained in:
parent
1ed4a797a0
commit
1736469ac0
2 changed files with 17 additions and 18 deletions
|
|
@ -27,8 +27,8 @@ if [[ $os == *'centos'* || $os == *'rhel'* ]]; then
|
|||
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
|
||||
fi
|
||||
|
||||
echo dotnet restore --force-evaluate
|
||||
dotnet restore --force-evaluate
|
||||
echo dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
||||
dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
||||
|
||||
echo dotnet publish ${config} ${os} --no-restore --self-contained=false -o Distribution Projects/Server/Server.csproj
|
||||
dotnet publish ${config} ${os} --no-restore --self-contained=false -o Distribution Projects/Server/Server.csproj
|
||||
|
|
@ -54,8 +54,8 @@ IF "%~2" == "" (
|
|||
SET os=-r %~2-x64
|
||||
)
|
||||
|
||||
echo dotnet restore --force-evaluate
|
||||
dotnet restore --force-evaluate
|
||||
echo dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
||||
dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
||||
|
||||
echo dotnet publish %config% %os% --no-restore --self-contained=false -o Distribution Projects\Server\Server.csproj
|
||||
dotnet publish %config% %os% --no-restore --self-contained=false -o Distribution Projects\Server\Server.csproj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue