Skip to content

CI: keep nightly when latest has no assets - #708

Closed
danoli3 wants to merge 1 commit into
openframeworks:masterfrom
danoli3:fix-nightly-empty-latest
Closed

danoli3 wants to merge 1 commit into
openframeworks:masterfrom
danoli3:fix-nightly-empty-latest

Conversation

@danoli3

@danoli3 danoli3 commented Nov 9, 2026

Copy link
Copy Markdown
Member

The nightly publisher fails when latest exists with no assets: gh release download exits with no assets to download under set -e, before the existing empty-directory check can keep the current nightly. This is the failure in run 42589907635, job 129068741720.

Check the asset count before downloading. An absent, empty or incomplete latest release leaves the existing nightly intact; genuine download errors still fail, and publication still waits for all ten required assets.

Validation: workflow YAML parses and Bash syntax checks pass. Six mocked publication scenarios pass: missing release, empty release, partial assets, download failure, staging failure and complete publication. The existing nightly is only deleted after a complete staging upload succeeds. No product version changes.

@danoli3 danoli3 closed this Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant