ci: only print publish evidence when the release was published
CI / fmt + clippy + workspace tests (push) Waiting to run
CI / MSRV check (1.89) (push) Waiting to run
CI / real Analysis integration (pinned core CLI) (push) Waiting to run
ci/woodpecker/push/main Pipeline was successful
ci/woodpecker/tag/main Pipeline was successful

The tag lane keeps its deterministic build/smoke evidence even when the forge
secret is not injected; guard the final evidence print so the lane does not fail
on a skipped publication.
This commit is contained in:
marqdo-knowledge committed 2026-11-26 09:46:47 +08:00
1 parent 636c9bf14c
commit 3edad237cf
1 file changed
+6 -1
+6 -1
View File
@@ -78,4 +78,9 @@ steps:
- cat dist/RELEASE_INFO.json - cat dist/RELEASE_INFO.json
- cat dist/*.tar.gz.sha256 - cat dist/*.tar.gz.sha256
- cat dist/smoke-evidence.json - cat dist/smoke-evidence.json
- cat dist/gitea-release-evidence.json - |
if [ -f dist/gitea-release-evidence.json ]; then
cat dist/gitea-release-evidence.json
else
echo "publish: skipped (no GITEA_TOKEN secret injection on this instance)"
fi