File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
33 <Version >2.0.0</Version >
44 <OutputType >Exe</OutputType >
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
33 <Version >2.0.0</Version >
44 <OutputType >WinExe</OutputType >
Original file line number Diff line number Diff line change 1+ param ([Parameter (Mandatory )] $version );
2+
3+ # Requires the dotnet-setversion tool installed:
4+ # dotnet tool install -g dotnet-setversion
5+ setversion $version ../ JavaToCSharpCli/ JavaToCSharpCli.csproj
6+ setversion $version ../ JavaToCSharpGui/ JavaToCSharpGui.csproj
7+
18dotnet publish ../ JavaToCSharpGui/ JavaToCSharpGui.csproj - c Release - r win10- x64 -- self- contained true - o ../ publish/ gui/
2- dotnet publish ../ JavaToCSharpCli/ JavaToCSharpCli.csproj - c Release - r win10- x64 -- self- contained true - o ../ publish/ cli/
9+ dotnet publish ../ JavaToCSharpCli/ JavaToCSharpCli.csproj - c Release - r win10- x64 -- self- contained true - o ../ publish/ cli/
10+
11+ Compress-Archive @ (" ../publish/gui/" , " ../publish/cli/" ) - DestinationPath ../ publish/ JavaToCSharp- $version.zip
You can’t perform that action at this time.
0 commit comments