Skip to content

Add automated release sync for _data/releases.yaml#2818

Open
holly-cummins wants to merge 1 commit into
quarkusio:mainfrom
holly-cummins:auto-update-releases-yaml
Open

Add automated release sync for _data/releases.yaml#2818
holly-cummins wants to merge 1 commit into
quarkusio:mainfrom
holly-cummins:auto-update-releases-yaml

Conversation

@holly-cummins

Copy link
Copy Markdown
Contributor

When I did #2750, I said I'd do a follow-on so that the data generation wasn't manual. This is that follow-on.

The file is a slightly awkward mix of stuff we'd want to maintain manually, and stuff we'd want to automate. The updater is coded to recognise that, and only change things it's supposed to change.

It will try and predict the next version after a release makes the current next-version obsolete, but if we update it manually, that value will stick.

Manual fields (policy, support_providers, eol_support, lts, eol_date, links) are preserved - only latest_patch and latest_patch_date are automated. We may want to extend to also automate some of that information, but I thought I'd start modestly.

@holly-cummins holly-cummins requested a review from gsmet July 3, 2026 15:21
@quarkus-bot

This comment has been minimized.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

🎊 PR Preview ecc1427 has been successfully built and deployed to https://quarkus-website-pr-2818-preview.surge.sh

  • Images of blog posts older than 3 months are not available.
  • Newsletters older than 3 months are not available.

@holly-cummins holly-cummins force-pushed the auto-update-releases-yaml branch from a6f827f to 289c003 Compare July 8, 2026 14:31
@quarkus-bot

This comment has been minimized.

@quarkus-bot

This comment has been minimized.

@quarkus-bot

This comment has been minimized.

@quarkus-bot

This comment has been minimized.

@holly-cummins holly-cummins marked this pull request as draft July 8, 2026 23:54
Syncs patch versions from GitHub API on a schedule. Manual fields
(policy, support_providers, eol_support, lts, eol_date, links) are
preserved - only latest_patch and latest_patch_date are automated.

- tools/releases-sync/main.java: JBang script fetching from GitHub API
- .github/workflows/sync-releases.yml: scheduled sync + PR dry-run

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
@holly-cummins holly-cummins force-pushed the auto-update-releases-yaml branch from 2fe5374 to 90f26b5 Compare July 9, 2026 14:53
@holly-cummins

Copy link
Copy Markdown
Contributor Author

This is now good to go. The sync releases workflow does a dry run on PRs, and I think the diff is looking good. My automated generation did some corrections over the previous vibe-coded list, such as amending some release dates, and adding .Final suffixes where needed. it also added releases further back, through 1 and 0 versions. The latest build has this as the start of the diff:

================================================================================
--- _data/releases.yaml (current)
+++ _data/releases.yaml (updated)
@@ -39,10 +39,17 @@
       you plan your upgrade.
 
 releases:
-  - version: "3.37"
+
+  - version: "3.38"
     lts: false
     upcoming: true
 
+  - version: "3.37"
+    release_date: 2026-06-24
+    lts: false
+    latest_patch: "3.37.2"
+    latest_patch_date: 2026-07-08
+
   - version: "3.36"
     release_date: 2026-05-27

@holly-cummins holly-cummins marked this pull request as ready for review July 9, 2026 14:55
@quarkus-bot

quarkus-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

Status for workflow Build

This is the status report for running Build on commit 90f26b5.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

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