Skip to content

Publish new component versions automatically after merging to main - #4

Merged
Y1hsiaochunnn merged 1 commit into
mainfrom
fix/automatic-component-release
Sep 7, 2026
Merged

Y1hsiaochunnn merged 1 commit into
mainfrom
fix/automatic-component-release

Conversation

@Y1hsiaochunnn

@Y1hsiaochunnn Y1hsiaochunnn commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Merging to main previously ran CI but never published a component because publication only supported manual dispatch from a pre-created version tag. Automatically publish each new manifest version after a successful full build matrix, then create its GitHub Release after the registry confirms the upload.

  • Keep manual dry runs and tag-based retries. Skip automatic publication when the version already has a completed GitHub Release.
  • Create the version tag on the validated commit and refuse to move an existing tag to different source. Fail on GitHub lookup errors instead of treating them as a missing release.
  • Force complete release validation independently of ordinary changed-file routing. Keep registry credentials in the upload job and grant repository write access only to the tag/release jobs.
  • Document version bumps, immutable publication, and recovery when uploading or GitHub Release creation fails.

Validation for 2e68d9b: 24 Python tests, seven release-operation tests, actionlint, catalog/navigation checks, and the full skill Markdown audit passed. All eleven local ESP-IDF builds and all PR Actions checks passed on this commit. The publication dry run also passed, including all eleven builds and authenticated registry validation; tag creation and GitHub Release were skipped as intended. Board source and component version remain unchanged; merging this workflow enables the initial 0.1.0 release.

@Y1hsiaochunnn
Y1hsiaochunnn deployed to component-registry September 7, 2026 06:00 — with GitHub Actions Active
@Y1hsiaochunnn
Y1hsiaochunnn merged commit db28937 into main Sep 7, 2026
29 checks passed
@Y1hsiaochunnn
Y1hsiaochunnn deleted the fix/automatic-component-release branch September 8, 2026 01:32
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