blob: 3e305e47a8539793bd1d98775f22728d017f2e8f [file] [log] [blame]
Joey Armstronga144ef32024-01-11 11:26:41 -05001Release Tasks
2=============
3
4BUILD[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
14BUILD[pre-release]: dependency and module updates
15-------------------------------------------------
16
Joey Armstrong1eb713f2024-01-30 13:53:00 -050017- :ref:`Release Task Golang Mod Update`
18- :ref:`Release Task Copyright`
Joey Armstronga144ef32024-01-11 11:26:41 -050019
20Standard syntax & formatting
21----------------------------
22
23- Golang syntax fomatting :ref:`Release Task Golang Syntax`
24
Joey Armstrong1eb713f2024-01-30 13:53:00 -050025golang
26^^^^^^
27
28Use 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 Armstronga144ef32024-01-11 11:26:41 -050040Chart.yaml
41----------
42
43- Update version string(s) for voltha-lib-go.