diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3f94c42..50a813f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -197,6 +197,14 @@ jobs: } else { $footer = "CryptBridge.exe is not code signed, so Windows SmartScreen may warn. [Code signing policy]($policy)" } + # A friendly line for the people who read release texts: the ones + # updating, who are happy enough to stay. + $repo = "https://github.com/$env:GITHUB_REPOSITORY" + if ($env:SIGNED -eq 'true') { + $footer += "`n`nšŸ’œ Happy with CryptBridge? A ⭐ on [GitHub]($repo) is the easiest way to let me know, and it helps others find it. Or [tell me what you use it for]($repo/issues/new)." + } else { + $footer += "`n`nšŸ’œ Happy with CryptBridge? A ⭐ on [GitHub]($repo) is the easiest way to let me know, and it helps CryptBridge qualify for free code signing, so the Windows warning goes away for everyone. Or [tell me what you use it for]($repo/issues/new)." + } $text = [IO.File]::ReadAllText("$release/release-notes.md") + "`n" + [IO.File]::ReadAllText(".github/release-notes/$env:VERSION.md").TrimEnd() + "`n`n---`n`n$footer`n" [IO.File]::WriteAllText($notes, $text, [Text.UTF8Encoding]::new($false)) diff --git a/README.md b/README.md index e39e48b..616eb93 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,12 @@ you. +> šŸ’œ **Using CryptBridge and happy with it?** A ⭐ on GitHub is the easiest way to let me know, +> and it does more than you'd think: stars are how small projects like this one qualify for +> free code signing, which makes the Windows warning go away for everyone. Or +> [tell me what you use it for](https://github.com/burnersen/CryptBridge/issues/new), I read every message. +> Thanks for being here! + --- ## Why CryptBridge?