Skip to content

Commit 118d4b4

Browse files
committed
test
1 parent 5a23380 commit 118d4b4

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,17 @@ jobs:
3434
3535
- name: Create release description
3636
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
37+
$exePath = "./optimizerNXT/bin/Release/optimizerNXT.exe"
38+
$bodyPath = "./release-body.md"
39+
$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
4048
4149
- name: Create release with tag
4250
uses: ncipollo/release-action@v1

0 commit comments

Comments
 (0)