Skip to content

Conversation

@pepelsbey
Copy link
Member

@pepelsbey pepelsbey commented Nov 11, 2025

Description

It’s an automation script that helps to create Firefox release notes.

I created the Firefox 145 release notes PR using this script.

Motivation

To simplify release notes workflow.

Additional details

How it works, for example, with the newly released Firefox 145:

node scripts/release-firefox.js 145

What it does:

Takes the newly released version as a parameter (N), and:

  • Removes active from N-1
  • Updates N to Stable
    • Uncomments HTML, CSS, JavaScript “no notable changes” sections
    • Removes all other unused commented sections
  • Updates N+1 to Beta
  • Adds Nightly N+2 page

For release dates, it uses official JSON API — https://whattrainisitnow.com/api/firefox/calendar/future/

Related issues and pull requests

@pepelsbey pepelsbey requested a review from a team as a code owner November 11, 2025 01:47
@pepelsbey pepelsbey requested review from LeoMcA and removed request for a team November 11, 2025 01:47
@github-actions github-actions bot added system [PR only] Infrastructure and configuration for the project size/m [PR only] 51-500 LoC changed labels Nov 11, 2025
@pepelsbey pepelsbey force-pushed the firefox-release-script branch from 8cb1954 to 060c4ed Compare November 11, 2025 01:49
@pepelsbey pepelsbey force-pushed the firefox-release-script branch from 060c4ed to d8b6afd Compare November 11, 2025 08:35
@pepelsbey pepelsbey mentioned this pull request Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m [PR only] 51-500 LoC changed system [PR only] Infrastructure and configuration for the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants