Conversation
| cp EDITORS.md versions/$version-editors.md | ||
| mv src/oas.md versions/$version.md | ||
| sed "s/| TBD |/| $today |/g" src/oas.md > versions/$version.md | ||
| diff -w src/oas.md versions/$version.md |
There was a problem hiding this comment.
What is this diff command for? Could you maybe a comment here to explain?
There was a problem hiding this comment.
It shows the lines that were changed by the sed command, which should only replace the "TBD" placeholder in the history table with the current (release) date. Just to be sure, and give the person preparing the release a hint if for some unfathomable reason the character sequence | TBD | appeared outside of the history table and should not have been changed.
|
@ralfhandl I have the same question as @mikekistler on what's happening in this script. Could you respond to the question and also update the CONTRIBUTING guide which had a set of manual steps to match the script, but the script is now out of sync. |
When we start a release, we add a line to the history table in Appendix A with the new release number and a "TBD" placeholder instead of the release date.
The
adjust-release-branch.shscript now replaces the placeholder with the current date and shows the differences. One less thing to remember during a release.