Skip to content

Add SemVer Label Processing (fix overwritten file)#43

Merged
ericmcdaniel merged 1 commit intomainfrom
docs/fix-replaced-file
Feb 25, 2026
Merged

Add SemVer Label Processing (fix overwritten file)#43
ericmcdaniel merged 1 commit intomainfrom
docs/fix-replaced-file

Conversation

@ericmcdaniel
Copy link
Copy Markdown
Owner

@ericmcdaniel ericmcdaniel commented Feb 25, 2026

Another quick follow-up release based on v0.4.0, which overwrote one of the scripts in error. The CI/CD pipeline failed to populate the release title and notes using PR details. These issues are challenging to debug without just YOLO'ing it in the pipeline. :)


Calculates the SemVer in the CI/CD pipeline to use based on the previous releases' version number. Artifacts built during the pipeline deployment will have the calculated SemVer number embedded in firmware.bin.

Technical Details

Calculating what major, minor, and patch values to stamp is determined by what label was applied to the PR.

  • If a contributor adds "major", the SemVer will increment major and sent minor/patch to 0.
  • If the minor gets incremented, the patch set to 0. Major is unchanged.
  • If no label is provided within the PR, then the patch value gets incremented. Major and minor are unimpacted.

@ericmcdaniel ericmcdaniel merged commit c906708 into main Feb 25, 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