Joey Armstrong | a144ef3 | 2024-01-11 11:26:41 -0500 | [diff] [blame] | 1 | Release Tasks |
| 2 | ============= |
| 3 | |
| 4 | BUILD[baseline]: detect pre-existing corruption |
| 5 | ----------------------------------------------- |
| 6 | |
| 7 | - Apply cosmetic edits to sorce: comments, formatting, nothing that changes logic flow. |
| 8 | - Update copyright notice ending date (if December release). |
| 9 | - gofmt - standard golang source formatting. |
| 10 | - Else add/modify comments in all sources. |
| 11 | - These edits are cosmetic and should be a NOP. |
| 12 | - Failing jobs are a sign of pre-existing corruption. Open a jira ticket and fix. |
| 13 | |
| 14 | BUILD[pre-release]: dependency and module updates |
| 15 | ------------------------------------------------- |
| 16 | |
Joey Armstrong | 1eb713f | 2024-01-30 13:53:00 -0500 | [diff] [blame] | 17 | - :ref:`Release Task Golang Mod Update` |
| 18 | - :ref:`Release Task Copyright` |
Joey Armstrong | a144ef3 | 2024-01-11 11:26:41 -0500 | [diff] [blame] | 19 | |
| 20 | Standard syntax & formatting |
| 21 | ---------------------------- |
| 22 | |
| 23 | - Golang syntax fomatting :ref:`Release Task Golang Syntax` |
| 24 | |
Joey Armstrong | 1eb713f | 2024-01-30 13:53:00 -0500 | [diff] [blame] | 25 | golang |
| 26 | ^^^^^^ |
| 27 | |
| 28 | Use the gofmt command to reformat golang sources gathered outside the vendor/ directory. |
| 29 | |
| 30 | .. code-block:: shell-session |
| 31 | :caption: Standard syntax formatting for golang source |
| 32 | |
| 33 | % make golang-fmt |
| 34 | |
| 35 | % cd mysandbox |
| 36 | % find . ! -path './vendor/\*' -name '*.go' -print0 \ |
| 37 | | xargs -n1 gofmt -s -e -w |
| 38 | |
| 39 | |
Joey Armstrong | a144ef3 | 2024-01-11 11:26:41 -0500 | [diff] [blame] | 40 | Chart.yaml |
| 41 | ---------- |
| 42 | |
| 43 | - Update version string(s) for voltha-lib-go. |