Skip to content

Automate selection of latest Processing releases#650

Merged
catilac merged 3 commits intoprocessing:mainfrom
Stefterv:automatic-selected-json
Oct 16, 2025
Merged

Automate selection of latest Processing releases#650
catilac merged 3 commits intoprocessing:mainfrom
Stefterv:automatic-selected-json

Conversation

@Stefterv
Copy link
Copy Markdown
Member

Added logic to fetchReleases.js to automatically select the latest stable release for each major Processing version and update selected.json accordingly. Also updated processing-1310-4.4.10.json to mark the release as stable and adjusted selected.json to reflect the new selection logic.

Related to processing/processing4#1281 (comment)

Added logic to fetchReleases.js to automatically select the latest stable release for each major Processing version and update selected.json accordingly. Also updated processing-1310-4.4.10.json to mark the release as stable and adjusted selected.json to reflect the new selection logic.
@Stefterv Stefterv requested a review from catilac October 15, 2025 18:35
@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 15, 2025

Deploy Preview for java-processing-faf822 ready!

Name Link
🔨 Latest commit 7b26bc5
🔍 Latest deploy log https://app.netlify.com/projects/java-processing-faf822/deploys/68f087d48db8300008a1fc82
😎 Deploy Preview https://deploy-preview-650--java-processing-faf822.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Updates fetchReleases.js to write an empty string to selectedPreReleases when no prereleases are found, instead of an empty array. Adjusts selected.json accordingly to maintain consistent data structure.
Copy link
Copy Markdown
Contributor

@catilac catilac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tysmlgtm! should we test this, or do you think i can just merge it in?

Comment thread scripts/fetchReleases.js Outdated
Moved the sorting of releases by published date outside the reduce loop to reduce calls
@Stefterv
Copy link
Copy Markdown
Member Author

The output of this will always still be reviewed before it is merged so I'm fine with the minimal testing I did

@catilac catilac merged commit 4bc0ef7 into processing:main Oct 16, 2025
4 checks 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.

2 participants