Skip to content

chore(web-forms#821): adds template with release steps#2019

Open
latin-panda wants to merge 5 commits into
nextfrom
add-release-template
Open

chore(web-forms#821): adds template with release steps#2019
latin-panda wants to merge 5 commits into
nextfrom
add-release-template

Conversation

@latin-panda

@latin-panda latin-panda commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Closes getodk/web-forms#821

What has been done to verify that this works as intended?

Compared with the Google Docs that has the steps

Why is this the best possible solution? Were any other approaches considered?

Release steps are versioned and can be improved by opening a PR.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

no

Does this change require updates to documentation? If so, please file an issue here and include the link below.

no

Before submitting this PR, please make sure you have:

  • branched off and targeted the next branch OR only changed documentation/infrastructure (master is stable and used in production)
  • verified that any code or assets from external sources are properly credited in comments or that everything is internally sourced

@latin-panda latin-panda changed the title Add release template chore(web-forms#821): adds template with release steps Jun 25, 2026
Comment thread .github/RELEASE_TEMPLATE.md Outdated
Comment on lines +34 to +35
- [ ] Run `npm run changeset version` in `central-frontend`. This consumes the `.changeset/` files, bumps package versions, and updates each `CHANGELOG.md`.
- [ ] Commit the changes on a new branch (e.g., `release-version-bumps`) and open a PR targeting `master`.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We are thinking of automating this piece with GitHub Actions (previous conversation). When the release tag is pushed, it generates the changelogs and creates a PR.

@matthew-white

Copy link
Copy Markdown
Member

I'm focused on other work at the moment, but I don't want to block things here. I went ahead and tagged @lognaturel and @garethbowen in case one of them has time to take a look. The most important thing from my perspective is that the new template matches the existing Google doc.

@garethbowen garethbowen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks!

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is this an officially recognised GH template? I can't find any information about it.

In the past I have used issue templates for release checklists, so you can create a new instance by creating an issue. Is that possible with this format or is there another process to follow?

@latin-panda latin-panda Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It's an issue type. I got confused when I saw the ISSUE_TEMPLATE.md and put it there, same as that template, without a header. It's fixed

@latin-panda latin-panda Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Actually, the ISSUE_TEMPLATE.md isn't working. I've asked the QA team, and they agreed to add it back. I've done that and named it QA create issue to make it clearly distinct from the other bug-report templates that redirect to the forum.

> - 🚀 Major release only
> - 🛠 Patch release only
> - 🔎 Requires the second person (reviewer)
> - Unmarked steps apply to **both** major and patch releases.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

There are quite a few steps that are one or the other, so it might make sense to create two templates, one for Major and one for Patch. This is doable with issue templates but I don't know how release templates work.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I agree, I was thinking the exact same thing. I decided to hold off on splitting them just yet to make the initial move from Google Docs smoother and easier for everyone and simplify the review. Once we transition the current process over successfully, splitting them into Major/Patch templates will be a natural next step.

Does that approach make sense, or do you think the friction of having two templates right away would be pretty minimal?

Comment thread .github/RELEASE_TEMPLATE.md Outdated
Comment thread .github/RELEASE_TEMPLATE.md Outdated
Comment on lines +101 to +105
* [apps/central](link-to-CHANGELOG#version)
* [apps/forms](link-to-CHANGELOG#version)
* [packages/web-forms](link-to-CHANGELOG#version)
* [packages/xforms-engine](link-to-CHANGELOG#version)
* [packages/xpath](link-to-CHANGELOG#version)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We can hardcode the links before the # right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, I considered that. However, I'm concerned that if we use the format
https://github.com/getodk/central-frontend/blob/master/packages/web-forms/CHANGELOG.md#<version>
developers might just type the version as 1.3.0. That won't scroll to the correct section because the anchor link requires the version number without dots (e.g., 130).

To avoid this issue, I thought it would be best to leave it as is so they can just copy and paste it directly.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've added a comment and made the link explicit to add the version correctly. We'll see if it works well :)

@latin-panda latin-panda requested a review from garethbowen June 26, 2026 14:46

@garethbowen garethbowen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Minor suggestions. Otherwise, looking good!

Comment thread .github/ISSUE_TEMPLATE/bug_report.md Outdated
Comment thread .github/ISSUE_TEMPLATE/bug_report.md
Comment thread .github/ISSUE_TEMPLATE/bug_report.md Outdated
Comment thread .github/ISSUE_TEMPLATE/release.md
@latin-panda latin-panda requested a review from garethbowen June 29, 2026 14:36

@garethbowen garethbowen left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Lovely

@latin-panda

Copy link
Copy Markdown
Contributor Author

@matthew-white, this has been approved, but let me know if you'd still like to take a look before merging

@lognaturel lognaturel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I agree that @matthew-white should take a look! For my part, I really like that this makes the release checklist versioned and I think it will be helpful to have a persistent place to check things off and communicate notes about anything that comes up.

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.

Update central release process to publish web-forms packages to npm

4 participants