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