Skip to content

ci(workflow): Improve release tag detection and artifact changelog#3954

Merged
jamesarich merged 1 commit into
mainfrom
fix/changelog
Dec 10, 2025
Merged

ci(workflow): Improve release tag detection and artifact changelog#3954
jamesarich merged 1 commit into
mainfrom
fix/changelog

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

This commit refactors the main-push-changelog GitHub workflow with two main improvements:

  • The logic for finding the last production tag is now more robust. It correctly identifies the highest semantic version (e.g., v1.2.10 over v1.2.9) by using sort -V and filtering out pre-release tags like -rc or -track.
  • The generated changelog is now saved to artifacts/main-push-changelog.md and uploaded as a build artifact named main-push-changelog. This makes the changelog accessible for other jobs or for manual download.

This commit refactors the `main-push-changelog` GitHub workflow with two main improvements:

-   The logic for finding the last production tag is now more robust. It correctly identifies the highest semantic version (e.g., `v1.2.10` over `v1.2.9`) by using `sort -V` and filtering out pre-release tags like `-rc` or `-track`.
-   The generated changelog is now saved to `artifacts/main-push-changelog.md` and uploaded as a build artifact named `main-push-changelog`. This makes the changelog accessible for other jobs or for manual download.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@github-actions github-actions Bot added the bugfix PR tag label Dec 10, 2025
@jamesarich jamesarich merged commit b1c580c into main Dec 10, 2025
6 checks passed
@jamesarich jamesarich deleted the fix/changelog branch December 10, 2025 16:35
@codecov

codecov Bot commented Dec 10, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.52%. Comparing base (431c7bc) to head (526e865).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##            main   #3954      +/-   ##
========================================
- Coverage   0.52%   0.52%   -0.01%     
========================================
  Files        394     394              
  Lines      23161   23162       +1     
  Branches    2939    2939              
========================================
  Hits         122     122              
- Misses     23018   23019       +1     
  Partials      21      21              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant