Skip to content

Commit

Permalink
Switched to GitVersion.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Dec 28, 2022
1 parent 9e38e02 commit e407b41
Show file tree
Hide file tree
Showing 37 changed files with 51 additions and 44 deletions.
2 changes: 1 addition & 1 deletion CertificateInstaller/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2015")]
[assembly: AssemblyCopyright("Copyright \u00A9 Lex Li 2015-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.Access/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.Asp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.Caching/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.Cgi/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.FastCgi/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.Handlers/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.HttpApi/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.Jexus/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.Logging/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.MimeMap/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.Modules/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Features.Rewrite/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion JexusManager.Shared/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016")]
[assembly: AssemblyCopyright("Copyright \u00A9 2016-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
7 changes: 4 additions & 3 deletions JexusManager/JexusManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
<OutputType>WinExe</OutputType>
<StartupObject />
<ApplicationManifest>app.manifest</ApplicationManifest>
<!-- MSI engine uses the first three fields https://docs.microsoft.com/en-us/windows/win32/msi/upgrade-table?redirectedfrom=MSDN#columns -->
<AssemblyVersion>13.0.9.0</AssemblyVersion>
<FileVersion>13.0.9.0</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -44,6 +41,10 @@
<ItemGroup>
<PackageReference Include="ActionListWinForms" Version="2.0.0" />
<PackageReference Include="Enums.NET" Version="4.0.0" />
<PackageReference Include="GitVersion.MsBuild" Version="5.11.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="ini-parser" Version="2.5.2" />
<PackageReference Include="Mono.Options" Version="6.12.0.148" />
<PackageReference Include="NuGet.Versioning" Version="5.11.0" />
Expand Down
2 changes: 1 addition & 1 deletion JexusManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("Management Console for Jexus web server/IIS Express/IIS.")]
[assembly: AssemblyCopyright("Copyright (C) Lex Li 2014-2018. All rights reserved.")]
[assembly: AssemblyCopyright("Copyright (C) Lex Li 2014-2022. All rights reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion Microsoft.Web.Administration/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright(C) Lex Li 2014-2016. All rights reserved.")]
[assembly: AssemblyCopyright("Copyright(C) Lex Li 2014-2022. All rights reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2014")]
[assembly: AssemblyCopyright("Copyright \u00A9 2014-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion Microsoft.Web.Management/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2014")]
[assembly: AssemblyCopyright("Copyright \u00A9 2014-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion Tests.IIS/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Tests.IIS")]
[assembly: AssemblyCopyright("Copyright \u00A9 2014")]
[assembly: AssemblyCopyright("Copyright \u00A9 2014-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion Tests.JexusManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2015")]
[assembly: AssemblyCopyright("Copyright \u00A9 2015-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
2 changes: 1 addition & 1 deletion Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyDescription("")]
[assembly: AssemblyCopyright("Copyright \u00A9 2014")]
[assembly: AssemblyCopyright("Copyright \u00A9 2014-2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down
18 changes: 12 additions & 6 deletions release.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[CmdletBinding()]
param(
[Parameter(Position = 0)]
[string] $Configuration = 'Release'
)

Import-Module PowerShellGet

$msBuild = "msbuild"
Expand Down Expand Up @@ -36,20 +42,20 @@ catch

Write-Host "MSBuild found. Compile the projects."

& $msBuild JexusManager.sln /p:Configuration=Release /t:restore
& $msBuild JexusManager.sln /p:Configuration=Release /t:clean
& $msBuild JexusManager.sln /p:Configuration=$Configuration /t:restore
& $msBuild JexusManager.sln /p:Configuration=$Configuration /t:clean

Remove-Item .\bin -Recurse
New-Item .\bin -ItemType Directory
Set-Location .\JexusManager
dotnet publish -c Release -r win-x64 --self-contained -o ..\bin\x64
dotnet publish -c Release -r win-x86 --self-contained -o ..\bin\x86
dotnet publish -c $Configuration -r win-x64 --self-contained -o ..\bin\x64
dotnet publish -c $Configuration -r win-x86 --self-contained -o ..\bin\x86
Copy-Item .\ThirdPartyNotices.txt ..\bin
Set-Location ..

Set-Location .\CertificateInstaller
dotnet publish -c Release -r win-x64 --self-contained -o ..\bin\x64
dotnet publish -c Release -r win-x86 --self-contained -o ..\bin\x86
dotnet publish -c $Configuration -r win-x64 --self-contained -o ..\bin\x64
dotnet publish -c $Configuration -r win-x86 --self-contained -o ..\bin\x86
Set-Location ..

.\lib\Paraffin.exe -regExExclude "JexusManager\.exe" -NoRootDirectory -dir .\bin\x64 -GroupName Files64 .\Setup\Files64.wxs
Expand Down

0 comments on commit e407b41

Please sign in to comment.