git-for-windows / git-for-windows-automation

A few GitHub workflows and support code to help with Git for Windows' day-to-day tasks
10 stars 9 forks source link

/release: explicitly mark full versions as the latest GitHub Release #55

Closed dscho closed 10 months ago

dscho commented 10 months ago

According to the REST API documentation of create-a-release, the make_latest should default to true.

However, when releasing Git for Windows v2.42.0 this was not so. I had to mark it as "latest" manually, and I only realized this because the gitforwindows.org update would fail (because it would still pick up v2.41.0(3) as the latest release).

Let's just make it explicit that we want to mark it as the latest version (at least as long as we're not publishing a pre-release).