Skip to content

Commit 7ef4935

Browse files
authored
Upgrade to .NET 6 (#26)
* net6 * . * . * , * .
1 parent 984ffcd commit 7ef4935

38 files changed

+1054
-620
lines changed

Chocolatey/GitHubReleaseNotes/GitHubReleaseNotes.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
2626
<!-- version should MATCH as closely as possible with the underlying software -->
2727
<!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
2828
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
29-
<version>1.0.7.1</version>
29+
<version>1.0.8.0</version>
3030
<!-- <packageSourceUrl>Where is this Chocolatey package located (think GitHub)? packageSourceUrl is highly recommended for the community feed</packageSourceUrl>-->
3131
<!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
3232
<owners>Stef Heyenrath</owners>
@@ -76,7 +76,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
7676
<!-- this section controls what actually gets packaged into the Chocolatey package -->
7777
<file src="tools\**" target="tools" />
7878
<file src="..\..\ReleaseNotes.md" target="tools" />
79-
<file src="..\..\src\GitHubReleaseNotes\bin\Release\net472\GitHubReleaseNotes.exe" target="tools" />
79+
<file src="..\..\src\GitHubReleaseNotes\bin\Release\net48\GitHubReleaseNotes.exe" target="tools" />
8080
<!--Building from Linux? You may need this instead: <file src="tools/**" target="tools" />-->
8181
</files>
8282
</package>

Chocolatey/GitHubReleaseNotes/HowTo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ choco apikey --key {KEY} --source https://push.chocolatey.org/
2828

2929
Then push:
3030
``` cmd
31-
choco push githubreleasenotes.1.0.7.1.nupkg --source https://push.chocolatey.org/
31+
choco push githubreleasenotes.1.0.8.0.nupkg --source https://push.chocolatey.org/
3232
```

Chocolatey/GitHubReleaseNotes/generate.linq

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ string projectFolder = Path.Combine(chocolateyFolder, "../", "../");
88

99
var doc = new XmlDocument(); doc.Load(Path.Combine(chocolateyFolder, "GitHubReleaseNotes.nuspec"));
1010
string version = doc["package"]["metadata"]["version"].FirstChild.Value;
11-
string exe = Path.Combine(projectFolder, "src", "GitHubReleaseNotes", "bin", "release", "net472", "GitHubReleaseNotes.exe");
11+
string exe = Path.Combine(projectFolder, "src", "GitHubReleaseNotes", "bin", "release", "net48", "GitHubReleaseNotes.exe");
1212

1313
string CreateSHA256()
1414
{
@@ -49,7 +49,7 @@ To verify this package, follow these steps:
4949
5050
3] For the changes in this release, see ReleaseNotes.md
5151
52-
Note that this application is build with the .NET 4.7.2 framework and uses Fody and Fody.Costura to include all dependencies to generate a single exe file.";
52+
Note that this application is build with the .NET 4.8 framework and uses Fody and Fody.Costura to include all dependencies to generate a single exe file.";
5353

5454
File.WriteAllText(Path.Combine(chocolateyFolder, "tools", "VERIFICATION.txt"), text, Encoding.UTF8);
5555

Chocolatey/GitHubReleaseNotes/tools/VERIFICATION.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ To verify this package, follow these steps:
55
1] Right click the GitHubReleaseNotes.exe in Windows file explorer and go to the "Details" tab and check the following properties:
66
- File description GitHubReleaseNotes
77
- Type Application
8-
- File version 1.0.7.1
8+
- File version 1.0.8.0
99
- Product name GitHubReleaseNotes
10-
- Product version 1.0.7.1
10+
- Product version 1.0.8.0
1111
- Copyright Stef Heyenrath
12-
- Size 1.05 MB
13-
- Date modified 2021-06-23 08:36
12+
- Size 1,16 MB
13+
- Date modified 2023-03-25 17:10
1414
- Language Language Neutral
1515
- Original filename GitHubReleaseNotes.exe
1616

1717
2] Verify the SHA256 from the GitHubReleaseNotes.exe file (7zip can be used for this)
18-
- SHA256 3F0D02FCB2AFE90C7CA8E6CA3DFDD756E6A602E65B8CA34AED8F5011EF6972E8
18+
- SHA256 AA48F38284D61A49C620AB266030C6CAC4B700E680F10908AEC64B5B8BB9D817
1919

2020
3] For the changes in this release, see ReleaseNotes.md
2121

22-
Note that this application is build with the .NET 4.7.2 framework and uses Fody and Fody.Costura to include all dependencies to generate a single exe file.
22+
Note that this application is build with the .NET 4.8 framework and uses Fody and Fody.Costura to include all dependencies to generate a single exe file.

Directory.Build.props

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</PropertyGroup>
55

66
<PropertyGroup>
7-
<Version>1.0.7.1</Version>
7+
<Version>1.0.8.0</Version>
88
<Description>Generate Release Notes from a GitHub project.</Description>
99
<Summary>Generate Release Notes from a GitHub project.</Summary>
1010
<Authors>Stef Heyenrath</Authors>
@@ -17,5 +17,7 @@
1717
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1818
<RepositoryType>git</RepositoryType>
1919
<RepositoryUrl>https://github.com/StefH/GitHubReleaseNotes</RepositoryUrl>
20+
<LangVersion>11</LangVersion>
21+
<Nullable>enable</Nullable>
2022
</PropertyGroup>
2123
</Project>

Wix/1.0.5.3.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

Wix/1.0.6.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

Wix/1.0.7.1.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

Wix/1.0.7.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

Wix/HowTo.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,22 @@ Update the version in `Product.wxs`
1313
Build setup project
1414

1515
## Generate yaml
16-
Use LinqPad on `generate manifest.linq` to generate the yaml file
16+
Use LinqPad on `generate files.linq` to generate the 3 yaml files.
1717

1818
## Add yaml
19-
Add the new {version}.yaml to the soluton in the "Wix and winget-pkgs" folder
19+
Add the 3 new yaml files to the soluton in the "Wix and winget-pkgs" folder
2020

2121
## Verify : Validate
2222
Do a `winget validate --manifest {version}.yaml`
2323

2424
## Upload
25-
Create the new version and upload setup to https://github.com/StefH/GitHubReleaseNotes/releases
25+
Create the new version (tag) and upload setup to https://github.com/StefH/GitHubReleaseNotes/releases
2626

2727
### Verify Install + Uninstall
2828
Do a `winget install --manifest {version}.yaml`
2929
Do a `winget uninstall --manifest {version}.yaml`
3030

3131
## winget-pkgs
32-
Create a PR with the new {version}.yaml in https://github.com/StefH/winget-pkgs
32+
Create a PR with the new {version}.yaml in https://github.com/StefH/winget-pkgs
33+
34+
Use the "." key on GitHub StefH/winget-pkgs to start VS Code and create a folder + add yaml.

0 commit comments

Comments
 (0)