ci(release): publish the public releases repository; fix signing and token conditions

The step conditions read step-level env, which a step's own if cannot see:
signing never ran and every release went to this repository. Secrets now
surface as job-level HAS_* flags. The publish job sets up .NET for make-icon,
re-publishing a tag updates the existing release, the portable zip carries
portable.txt, and tags are validated before anything is built.

deploy/releases-repo holds the public README, EULA draft, SECURITY policy and
issue forms; release.yml copies them with the Unraid template, compose file,
screenshots, i18n and SHA256SUMS. The fixtures command reports missing
samples as warning annotations (--allow-missing) instead of a silent pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 22:15:21 +00:00
1 parent c49d4a1d20
commit d0beb7d3bf
11 files changed
+588 -59

No files matched your search

+9 -1
View File
@@ -1,5 +1,13 @@
{
"description": "CC0 RAW samples from raw.pixls.us (one per managed RAW decoder), fetched by 'Titano.Tools fixtures' into tests/fixtures/external (git-ignored, CI-cached on this file). sha256 null: the first download records its hash in external/recorded-hashes.json and prints it for pinning here. width/height: size the managed decoder develops (before orientation). urlVerified false: the URL follows the site's data/<make>/<model>/ layout but was written without network access; replace it with the sample's download link if the fetch reports 404.",
"description": "CC0 RAW samples from raw.pixls.us (one per managed RAW decoder), fetched by 'Titano.Tools fixtures' into tests/fixtures/external (not committed; CI caches it keyed on this file). sha256 null: the first download records its hash in external/recorded-hashes.json and prints it for pinning here. width/height: size the managed decoder develops (before orientation). urlVerified false: the URL follows the site's data/<make>/<model>/ layout but was written without network access and may 404; CI then shows a 'RAW fixture missing' warning and the decode tests for that file are skipped.",
"instructions": [
"1. Open https://raw.pixls.us/ and find the camera (make, model) of the entry; pick a sample whose licence column says CC0.",
"2. Copy that sample's download link (a https://raw.pixls.us/data/... URL) into 'url' and set 'urlVerified' to true.",
"3. Run 'dotnet run --project src/Titano.Tools -- fixtures': it downloads into tests/fixtures/external and prints the SHA-256 of each first download.",
"4. Copy each printed hash into 'sha256' and the file length into 'size', so later runs verify the exact file.",
"5. Run 'dotnet run --project src/Titano.Tools -- diagnose tests/fixtures/external' and set 'width'/'height' to the developed size it reports (before orientation).",
"6. Run 'dotnet run --project tests/Titano.Core.Tests -- --filter ExternalFixture' and commit the manifest (never the downloaded files)."
],
"license": "CC0-1.0",
"files": [
{