We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a23380 commit 118d4b4Copy full SHA for 118d4b4
.github/workflows/ci.yml
@@ -34,9 +34,17 @@ jobs:
34
35
- name: Create release description
36
run: |
37
- $sha256 = Get-FileHash "./optimizerNXT/bin/Release/optimizerNXT.exe" -Algorithm SHA256
38
- $bodyPath = "./release-body.md"
39
- "SHA256: $($sha256.Hash)" | Out-File -Encoding UTF8 $bodyPath
+ $exePath = "./optimizerNXT/bin/Release/optimizerNXT.exe"
+ $bodyPath = "./release-body.md"
+ $changelogUrl = "https://github.com/hellzerg/optimizerNXT/blob/main/CHANGELOG.md"
40
+ $sha256 = Get-FileHash "$exePath" -Algorithm SHA256
41
+
42
+ $releaseBody = @"
43
+ SHA256: $($sha256.Hash)
44
+ View changelog ➡ $changelogUrl
45
+ "@
46
47
+ $releaseBody | Out-File -Encoding UTF8 $bodyPath
48
49
- name: Create release with tag
50
uses: ncipollo/release-action@v1
0 commit comments