diff --git a/README.md b/README.md index 31e50ee..5572af3 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,11 @@ zenodo-maint --zenodo-json meta/v9.json \ zenodo-maint --zenodo-json meta/authors-9.json \ apply-metadata --creators-only --version-prefix 9. --execute +# fix ONLY the license across every version (e.g. a mis-declared license), leaving +# each record's curated title/description/creators untouched; already-correct +# records are skipped (idempotent). +zenodo-maint --zenodo-json .zenodo.json apply-metadata --license-only --execute + # scaffold the two standard files for a new repo zenodo-maint --repo owner/repo bootstrap diff --git a/skill/SKILL.md b/skill/SKILL.md index 733d92c..ed931e7 100644 --- a/skill/SKILL.md +++ b/skill/SKILL.md @@ -64,6 +64,7 @@ Zenodo calls, mints no concept, and installs no workflows. The rest is manual: - Rename a relation on all versions: `zenodo-maint relink --from-relation isNewVersionOf --to-relation continues --execute` - Re-apply metadata after editing `.zenodo.json` (e.g. authors): `zenodo-maint apply-metadata --execute` - Fix only the author list on existing records, preserving their title/description (e.g. correct authorship without losing per-release notes): `zenodo-maint --zenodo-json authors.json apply-metadata --creators-only [--version-prefix 7.7.] --execute`. Swaps only `creators`; skips records already matching (idempotent); `--version-prefix` scopes to a major's records. +- Fix only the license across every version (e.g. a mis-declared license), preserving each record's curated title/description/creators: `zenodo-maint --zenodo-json .zenodo.json apply-metadata --license-only --execute`. Swaps only `license` (from the metadata file's `license`); skips records already matching, treating Zenodo's stored `mit-license` as equal to the SPDX `mit` you write in `.zenodo.json` (idempotent). Use for a whole-concept license correction without disturbing curated per-version titles. - Curated / relabeled record (label decoupled from the source tag): `zenodo-maint --zenodo-json meta/rec.json archive-release --tag --version