mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-01-03 20:05:40 +00:00
Build in a release configuration before packaging.
This commit is contained in:
parent
93acf5457b
commit
3819b959b6
|
@ -2,7 +2,7 @@
|
|||
<package >
|
||||
<metadata>
|
||||
<id>SDL2-CS-Rolling</id>
|
||||
<version>%version%</version>
|
||||
<version>2000.1.1</version>
|
||||
<authors>flibitijibibo</authors>
|
||||
<owners>beannaich</owners>
|
||||
<licenseUrl>https://github.com/flibitijibibo/SDL2-CS/blob/master/LICENSE</licenseUrl>
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
msbuild /p:Configuration=Debug SDL2-CS.csproj
|
||||
|
||||
msbuild /p:Configuration=Release SDL2-CS.csproj
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
dotnet build SDL2-CS.Core.csproj
|
||||
|
||||
dotnet build -c Release SDL2-CS.Core.csproj
|
||||
|
|
|
@ -7,4 +7,3 @@ nuget setApiKey $NUGET_API_KEY -verbosity quiet
|
|||
for package in `find *.nupkg`; do
|
||||
nuget push $package -source https://nuget.org/
|
||||
done
|
||||
|
||||
|
|
|
@ -6,7 +6,4 @@ version=`date +"%Y.%m.%d"`
|
|||
|
||||
nuspec="gitlab-ci/SDL2-CS.nuspec"
|
||||
|
||||
sed -i -e "s/%version%/$version/g" $nuspec
|
||||
|
||||
nuget pack $nuspec
|
||||
|
||||
nuget pack $nuspec -Version $version
|
||||
|
|
Loading…
Reference in a new issue