Mercurial > octave
changeset 32486:3531e4090f94
doc: Add command to update Copyright statements to RELEASE_CHECKLIST.md
* RELEASE_CHECKLIST.md: Add commands to update Copyright statements and check
the results.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 23 Nov 2023 17:08:50 -0800 |
parents | 22c90d779a24 |
children | 2786051c63ea |
files | etc/RELEASE_CHECKLIST.md |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/RELEASE_CHECKLIST.md Thu Nov 23 14:35:05 2023 -0500 +++ b/etc/RELEASE_CHECKLIST.md Thu Nov 23 17:08:50 2023 -0800 @@ -61,6 +61,16 @@ Completion Date: * Update copyright statements for all source controlled files. + + Command to update copyright notifications + + `hg locate | xargs sed -i 's/Copyright (C) \([0-9][0-9][0-9][0-9]\)-2023 The Octave Project Developers/Copyright (C) \1-2024 The Octave Project Developers/; s/Copyright (C) 2023 The Octave Project Developers/Copyright (C) 2023-2024 The Octave Project Developers/'` + + Command to check results before checking in + + `hg diff | grep ^[-+][^-+] | sed 's/[0-9][0-9][0-9][0-9]-/YYYY-/' | sort -u` + + * Update dates in any other locations (launch message, citation, MXE files, etc.). * Add any new contributors to `doc/interpreter/contributors.in` who wish to be