Skip to content

fix(release): fall back to skeleton init on uninitialized template repo - #76

Merged
zeriyoshi merged 1 commit into
mainfrom
fix/release-fallback-init
Jul 27, 2026
Merged

fix(release): fall back to skeleton init on uninitialized template repo#76
zeriyoshi merged 1 commit into
mainfrom
fix/release-fallback-init

Conversation

@zeriyoshi

Copy link
Copy Markdown
Contributor

Summary

The Release workflow hard-failed on the pskel template repository itself because ext/ is uninitialized. This restores the dummy fallback:

  • Source job: when ext/.gitkeep marks the project uninitialized, run pskel init skeleton (same pattern as the CI init jobs) instead of erroring, and upload the initialized ext/ as an artifact
  • Windows job: download the initialized extension artifact before staging sources so the matrix builds work in the fallback case
  • Downstream projects with an initialized ext/ are unaffected (needs-init=false skips all fallback steps; the composer.json guard remains)

Note: rerunning the failed release run will not pick up this fix — tag-push runs use the workflow at the tagged commit, so the tag needs to be re-created on the fixed main (or push a new tag).

🤖 Generated with Claude Code

The Release workflow previously hard-failed when ext/ was uninitialized
(the pskel template repository itself). Restore the dummy fallback: the
Source job initializes the default skeleton via "pskel init skeleton"
(same pattern as the CI init jobs), uploads the initialized ext as an
artifact, and the Windows matrix downloads it before staging sources.
Downstream projects with an initialized ext are unaffected.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@zeriyoshi
zeriyoshi merged commit 6a49b0c into main Jul 27, 2026
1 check passed
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