From bccd875a7d2074950b02609bb3945734ba8ff672 Mon Sep 17 00:00:00 2001 From: "Wilhelmina \"Willow\" Poortenga" <156546731+wittywilla@users.noreply.github.com> Date: Mon, 16 Nov 2026 11:08:50 -0500 Subject: [PATCH] module-kit puts its README section before Legal The generated Releasing section was always appended, after the Legal section every README ends with. It now goes just before ## Legal, or at the end when a README has none, and an older section moves there on the next run. WittyModule's own README is regenerated the same way. Refs #13 Co-Authored-By: Claude Opus 5.5 --- README.md | 18 +++++++++--------- kit/module-kit.sh | 15 +++++++++++++-- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index c7dfc62..ba99db8 100644 --- a/README.md +++ b/README.md @@ -116,20 +116,12 @@ kit/module-kit.sh ../WittyPhotos GNU Affero General Public License v3.0 (or later): see [LICENSE](LICENSE) and [NOTICE](NOTICE). If you redistribute it or build on it, please keep the NOTICE attribution. -## Legal - -WittyModule is an independent open-source project. It isn't associated with, sponsored by or -endorsed by any publisher, rights holder, service or other media software project. A module built -with it comes from whoever published that module. Any third-party names here only describe what it -works with, and belong to their owners. It's provided “as is”, with no warranty; see -[LICENSE](LICENSE). Local law applies to how you use it. This isn't legal advice. - ## Releasing WittyModule reaches a server inside the projects built with it, so a release has no files of its own: a version tag runs the tests and publishes a release that those projects can require. -Versions move in small steps as work lands. `go run github.com/wittywilla/wittymodule/cmd/wittymodule@v0.4.0 bump .` raises it +Versions move in small steps as work lands. `go run github.com/wittywilla/wittymodule/cmd/wittymodule@v0.5.5 bump .` raises it everywhere it is written (add `-part minor` for a bigger step). A bump isn't a release: nothing is tagged or published until you tag it. CI fails when code changed since the last tag and the version didn't, because tags never move. @@ -143,3 +135,11 @@ To release: Licensed under AGPL-3.0-or-later: see [LICENSE](LICENSE) and [NOTICE](NOTICE). + +## Legal + +WittyModule is an independent open-source project. It isn't associated with, sponsored by or +endorsed by any publisher, rights holder, service or other media software project. A module built +with it comes from whoever published that module. Any third-party names here only describe what it +works with, and belong to their owners. It's provided “as is”, with no warranty; see +[LICENSE](LICENSE). Local law applies to how you use it. This isn't legal advice. diff --git a/kit/module-kit.sh b/kit/module-kit.sh index 2f36b67..b89377d 100755 --- a/kit/module-kit.sh +++ b/kit/module-kit.sh @@ -51,7 +51,8 @@ render() { #