We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 250a457 commit 0e7ddaeCopy full SHA for 0e7ddae
.github/workflows/nuget.yaml
@@ -40,3 +40,16 @@ jobs:
40
41
- name: dotnet nuget push
42
run: dotnet nuget push pkg\*.nupkg -s https://www.nuget.org/ -k ${{ secrets.nuget_api_key }}
43
+
44
+ # This step can be removed when GH runner has gh version 2.4.0 (2021-12-21) or higher
45
+ # As of 1/8/2022, runner has 2.3.0 which doesn't support --generate-notes below
46
+ - name: install latest gh cli
47
+ run: choco install gh
48
49
+ - name: create release
50
+ shell: pwsh
51
+ env:
52
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53
+ run: |
54
+ $VERSION = Get-ChildItem -Path pkg/*.nupkg -Name | Select-String -Pattern '\d+.\d+.\d+' | foreach {$_.Matches.Value}
55
+ gh release create --generate-notes $VERSION
0 commit comments