mirror of
https://github.com/MathiasLui/CSGO-Projects.git
synced 2025-05-06 13:51:18 +00:00
Change version to 0.1.0.1
* So it complies with, and can compile along the new SteamShared
This commit is contained in:
parent
8edbd31b94
commit
d40ee5ac7d
2 changed files with 47 additions and 1 deletions
|
@ -2,12 +2,14 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<TargetFramework>net6.0-windows</TargetFramework>
|
<TargetFramework>net7.0-windows</TargetFramework>
|
||||||
<Version>0.1.0</Version>
|
<Version>0.1.0</Version>
|
||||||
<Authors>Mathias Lui</Authors>
|
<Authors>Mathias Lui</Authors>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<UseWPF>true</UseWPF>
|
<UseWPF>true</UseWPF>
|
||||||
<SignAssembly>False</SignAssembly>
|
<SignAssembly>False</SignAssembly>
|
||||||
|
<AssemblyVersion>0.1.0.1</AssemblyVersion>
|
||||||
|
<FileVersion>0.1.0.1</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
44
DamagePrinter/publish.bat
Normal file
44
DamagePrinter/publish.bat
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
@echo off
|
||||||
|
|
||||||
|
:Start
|
||||||
|
|
||||||
|
set /p "version=TYPE IN VERSION NUMBER: "
|
||||||
|
|
||||||
|
IF "%version%" == "" GOTO Start
|
||||||
|
|
||||||
|
mkdir publish
|
||||||
|
|
||||||
|
echo Deleting old releases...
|
||||||
|
del /q publish\*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
echo Publishing framework dependent version...
|
||||||
|
dotnet publish .\DamagePrinterGUI\DamagePrinterGUI.csproj /p:PublishProfile=DamagePrinterGUI\Properties\PublishProfiles\FrameworkDependentProfile.pubxml
|
||||||
|
|
||||||
|
echo Removing PDBs...
|
||||||
|
del DamagePrinterGUI\bin\Release\net7.0-windows\publish\DamagePrinterGUI\*.pdb
|
||||||
|
|
||||||
|
echo Zipping folder...
|
||||||
|
7z a DamagePrinterGUI.zip .\DamagePrinterGUI\bin\Release\net7.0-windows\publish\DamagePrinterGUI
|
||||||
|
|
||||||
|
echo Moving and renaming file...
|
||||||
|
move /y "DamagePrinterGUI.zip" "publish\csgo_damage_printer_gui_FD_x64_%version%.zip"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
echo Publishing standalone (self-contained) version...
|
||||||
|
dotnet publish .\DamagePrinterGUI\DamagePrinterGUI.csproj /p:PublishProfile=DamagePrinterGUI\Properties\PublishProfiles\SelfContainedProfile.pubxml
|
||||||
|
|
||||||
|
echo Removing PDBs...
|
||||||
|
del DamagePrinterGUI\bin\Release\net7.0-windows\publish\DamagePrinterGUI\*.pdb
|
||||||
|
|
||||||
|
echo Zipping folder...
|
||||||
|
7z a DamagePrinterGUI.zip .\DamagePrinterGUI\bin\Release\net7.0-windows\publish\DamagePrinterGUI
|
||||||
|
|
||||||
|
echo Moving and renaming file...
|
||||||
|
move /y "DamagePrinterGUI.zip" "publish\csgo_damage_printer_gui_SC_x64_%version%.zip"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
pause
|
Loading…
Add table
Reference in a new issue