diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7e4ef9..a2fc890 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -280,6 +280,14 @@ jobs: } else { $footer = "The Windows files of this release are 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 TimeSync? 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 TimeSync? A โญ on [GitHub]($repo) is the easiest way to let me know, and it helps TimeSync 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("CHANGELOG.md") + "`n---`n`n$footer`n" [IO.File]::WriteAllText("$env:RUNNER_TEMP/release-notes.md", $text, [Text.UTF8Encoding]::new($false)) diff --git a/README.md b/README.md index 80fed3a..e51f983 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,12 @@ battery, a company network that blocks the time port. ๐ Website: [tech.burnersen.de/en/tools/timesync-en](https://tech.burnersen.de/en/tools/timesync-en/) ยท ๐ฉ๐ช Auf Deutsch: [tech.burnersen.de/tools/timesync](https://tech.burnersen.de/tools/timesync/) +> ๐ **Using TimeSync 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/TimeSync/issues/new), I read every message. +> Thanks for being here! +