chore: Add a hint to not modify patches-list.json by hand. Remove 'v' from version tag that not used during release

This commit is contained in:
LisoUseInAIKyrios committed 2026-06-11 11:00:31 +03:00
1 parent 5fee07592e
commit 031b1eb376
2 files changed
+10 -3

No files matched your search

@@ -88,7 +88,13 @@ private fun generatePatchList(version: String, patches: Set<Patch<*>>) {
.create()
val jsonObject = JsonObject()
jsonObject.addProperty("version", "v$version")
jsonObject.addProperty(
"NOTE",
"Do NOT manually edit this file. This file is automatically updated when " +
"semantic release (release.yml) runs. Manually editing this file can break " +
"your releases and break third party tools that use this file."
)
jsonObject.addProperty("version", version)
jsonObject.add("patches", gson.toJsonTree(patchesMap))
listJson.writeText(gson.toJson(jsonObject))