Skip to content

Commit

Permalink
doc: Add command to update Copyright statements to RELEASE_CHECKLIST.md
Browse files Browse the repository at this point in the history
* RELEASE_CHECKLIST.md: Add commands to update Copyright statements and check
the results.
  • Loading branch information
Rik committed Nov 24, 2023
1 parent 3c1fc3e commit 8c38f92
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions etc/RELEASE_CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ Completion Date:
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
Expand Down

0 comments on commit 8c38f92

Please sign in to comment.