Skip to content

Commit

Permalink
New release with updated path for right-click menu
Browse files Browse the repository at this point in the history
  • Loading branch information
joes committed Sep 24, 2024
1 parent e605177 commit 4766c3f
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 11 deletions.
6 changes: 3 additions & 3 deletions BroDisplaySetup.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<TargetFramework>net7.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Version>0.9.2-beta</Version>
<AssemblyVersion>0.9.2</AssemblyVersion>
<FileVersion>0.9.2</FileVersion>
<Version>0.9.4</Version>
<AssemblyVersion>0.9.4</AssemblyVersion>
<FileVersion>0.9.4</FileVersion>
<Authors>Joe Siponen</Authors>
<Copyright>© 2023 Joe Siponen</Copyright>
<Company>Kristinehamns kommun</Company>
Expand Down
4 changes: 0 additions & 4 deletions BroDisplaySetup.sln
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,4 @@ Global
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {817FBEA3-8894-45CE-A424-5B30B5787F1F}
EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
EndGlobal
51 changes: 51 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Release

## Minor Release

Open `BroDisplaySetup.csproj` and update all three versions to match the new release:

```xml
<PropertyGroup>
<Version>0.9.3</Version> <!-- NuGet package/Project version -->
<AssemblyVersion>0.9.3</AssemblyVersion>
<FileVersion>0.9.3</FileVersion>
</PropertyGroup>
```

Set the version in the BroDisplaySetup properties to the same version as the project version. This action will ask you to update the ProductCode. Click Yes.

Push the changes to the repository and create a new release in GitHub:

1. Go to https://github.com/Kristinehamns-kommun/BroDisplaySetup/releases/new
1. Choose the tag version (e.g., `v0.9.3`) to create a new tag that matches the version in the project file.
1. Add a title and description for the release.
1. Click "Publish release".

## Major Release

Open `BroDisplaySetup.csproj` and update all three versions to match the new major release (i.e. Version is incremented in the first digit):

```xml
<PropertyGroup>
<Version>2.0.0</Version> <!-- NuGet package/Project version -->
<AssemblyVersion>2.0.0</AssemblyVersion>
<FileVersion>0.9.3</FileVersion>
</PropertyGroup>
```

Set the version in the BroDisplaySetup properties to the same version as the project version.

For major upgrades to work, you need to:

* Change the ProductCode (same as minor upgrades).
* Keep the UpgradeCode the same.
* Ensure the Version is incremented in the first digit (e.g., 2.0.0).
* Explicitly add an "Upgrade Path" in the installer to allow major upgrades.
* If you don't configure an upgrade path for major version changes, the installer won’t recognize it as an upgrade, and instead, you'll see the message asking to uninstall the old version manually.

Push the changes to the repository and create a new release in GitHub:

1. Go to https://github.com/Kristinehamns-kommun/BroDisplaySetup/releases/new
1. Choose the tag version (e.g., `v2.0.0`) to create a new tag that matches the version in the project file.
1. Add a title and description for the release.
1. Click "Publish release".
8 changes: 4 additions & 4 deletions installer/BroDisplaySetupInstaller.vdproj
Original file line number Diff line number Diff line change
Expand Up @@ -218,15 +218,15 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:BroDisplaySetup"
"ProductCode" = "8:{1AC2E4D4-9A1E-40F2-9E5E-B183937D15A1}"
"PackageCode" = "8:{67C6F376-368C-4927-9117-5A0B9925F9F2}"
"ProductCode" = "8:{605DF0B4-133B-4E95-96AA-BD3A66E4CB62}"
"PackageCode" = "8:{E93E1902-6684-45A2-9997-2ED46BD33812}"
"UpgradeCode" = "8:{A7265706-3F33-4A5F-83F6-CADD64FB7B95}"
"AspNetVersion" = "8:2.0.50727.0"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:0.9.2"
"ProductVersion" = "8:0.9.4"
"Manufacturer" = "8:Kristinehamns kommun"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:"
Expand Down Expand Up @@ -348,7 +348,7 @@
{
"{60EA8692-D2D5-43EB-80DC-7906BF13D6EF}:_1C30D9AB76954A3C9A79EA6DBCC96536"
{
"Name" = "8:Arrangera bildskärmar v2"
"Name" = "8:Arrangera bildskärmar"
"Condition" = "8:"
"AlwaysCreate" = "11:FALSE"
"DeleteAtUninstall" = "11:TRUE"
Expand Down

0 comments on commit 4766c3f

Please sign in to comment.