meta: add Craft-based release pipeline#10
Merged
Merged
Conversation
- Add .craft.yml with npm (OIDC) + GitHub Release targets - Add release.yml workflow (manual craft prepare trigger) - Add publish.yml workflow (issue-label-triggered craft publish) - Update build.yml: add release/** trigger, artifacts job, upgrade actions to v6/v7, remove stale env - Bump version to 0.5.0 (last published) so Craft can manage version bumps - Add AGENTS.md documenting project setup and release flow
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add automated release/publish pipeline using getsentry/craft, following the
publish_repo: selfpattern.Changes
.craft.yml— Craft config with npm (OIDC, public) + GitHub Release targets.github/workflows/build.yml— Addrelease/**branch trigger,artifactsjob (packs npm tarball on release branches), upgrade actions to v6/v7, remove stale monorepo env vars.github/workflows/release.yml— Manualworkflow_dispatchtrigger forcraft prepare.github/workflows/publish.yml— Issue-label-triggeredcraft publishpackage.json— Reset version to 0.5.0 (last published) so Craft manages version bumpsAGENTS.md— Document project setup and release flowRelease Flow
workflow_dispatch) with versionautoor explicitrelease/X.Y.Zbranch, bumpspackage.json, generatesCHANGELOG.md, opens publish issuebuild+test+artifactsjobsacceptedlabel to publish issuePrerequisites (repo admin setup)
contents: write+issues: write→ repo variableAPP_ID+ secretAPP_PRIVATE_KEYproductionfossilizepackage