Skip to content

fix(git-node): do not mark Alpha as pre-release - #1258

Open
aduh95 wants to merge 2 commits into
nodejs:mainfrom
aduh95:alpha-not-pre-release
Open

aduh95 wants to merge 2 commits into
nodejs:mainfrom
aduh95:alpha-not-pre-release

Conversation

@aduh95

@aduh95 aduh95 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

GH does not support setting both --latest and --prerelease, and --prerelease releases do not trigger the "Post-Release actions" workflow

@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.09%. Comparing base (5947986) to head (9cffebb).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
lib/promote_release.js 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1258      +/-   ##
==========================================
+ Coverage   67.00%   67.09%   +0.08%     
==========================================
  Files          69       69              
  Lines       14213    14303      +90     
==========================================
+ Hits         9524     9597      +73     
- Misses       4689     4706      +17     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@richardlau

Copy link
Copy Markdown
Member

GH does not support setting both --latest and --prerelease, and --prerelease releases do not trigger the "Post-Release actions" workflow

Why don't we just update the "Post-Release actions" workflow to run on pre-releases?

@aduh95

aduh95 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

It's a possiblity, but then we would have the last 26.x Current release (26.12.1) marked as "latest" in GH UI for 6 months, until 27.0.0 is out – or we would need another way to discriminate whether a LTS release should be marked as "latest", currently we use isLTS to decide whether to pass the --latest flag

This branch has not been deployed

No deployments
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.

2 participants