Skip to content

ci: publish version.json on GitHub Pages and rebuild on release#1248

Open
Soner (shyim) wants to merge 1 commit into
mainfrom
ci/pages-version-json
Open

ci: publish version.json on GitHub Pages and rebuild on release#1248
Soner (shyim) wants to merge 1 commit into
mainfrom
ci/pages-version-json

Conversation

@shyim

Copy link
Copy Markdown
Member

Summary

  • Publish version.json ({"version":"..."}) from the GitHub Pages config-schema site
  • Redeploy Pages when a GitHub release is published (in addition to schema changes on main)
  • Resolve version from the triggering stable release, otherwise from the latest non-prerelease tag

Test plan

  • Merge and run the workflow via workflow_dispatch (or wait for next schema push)
  • Confirm version.json is served on GitHub Pages with the expected latest version
  • After the next release, confirm Pages redeploys and version.json updates

Expose the latest CLI version as version.json from the config schema
Pages site, and redeploy whenever a release is published so consumers
can resolve the current version without scraping GitHub.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.42%. Comparing base (e4ffef1) to head (752fc47).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1248      +/-   ##
==========================================
- Coverage   53.44%   53.42%   -0.03%     
==========================================
  Files         301      301              
  Lines       23222    23235      +13     
==========================================
+ Hits        12412    12413       +1     
- Misses      10810    10822      +12     
Flag Coverage Δ
go-test 53.42% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

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