The week before the release
RELEASE=25.05.0
git fetch origin
git checkout origin/HEAD
git switch --create release/$RELEASE
git push origin release/$RELEASE
| Field |
Value |
| VERSION |
25.05.0 |
| RELEASE |
1 |
| BRANCH |
release/25.05.0 |
| ASUP_MAKE_TARGET |
production |
| DOCKER_PUBLISH |
false |
| RUN_TEST |
true |
| OVERWRITE_DOCKER_LATEST_TAG |
false |
| RUN_TRIVY_SCAN |
true |
RELEASE=25.05.0
git clone https://github.com/NetApp/harvest-metrics.git
cd harvest-metrics
git checkout origin/HEAD
git switch --create release/$RELEASE
git push origin release/$RELEASE
go run pkg/changelog/main.go --title $RELEASE --highlights releaseHighlights_$RELEASE.md -r ghrn_$RELEASE.md | pbcopy
Update Metrics Documentation
bin/harvest generate metrics --poller POLLERNAME
The day of the release
| Field |
Value |
| VERSION |
25.05.0 |
| RELEASE |
1 |
| BRANCH |
release/25.05.0 |
| ASUP_MAKE_TARGET |
production |
| DOCKER_PUBLISH |
true |
| RUN_TEST |
true |
| OVERWRITE_DOCKER_LATEST_TAG |
true |
| RUN_TRIVY_SCAN |
true |
mike deploy --push --update-aliases $SHORT latest
The week before the release
mainbranch with the latestasup_linux_amd64binary. This binary can be generated using Jenkins with the following parameters:status/testmeand unassigned. Useghor the GitHub UI to do this.status/testmeissues tostatus/openorstatus/donev$RELEASEfor the tag and pick the release/$RELEASE branch. Click theGenerate release notesbutton and double check, at the bottom of the release notes, that the commits are across the correct range. For example:https://github.com/NetApp/harvest/compare/v25.02.0...v25.05.0pbpaste > ghrn_$RELEASE.mdgo run pkg/changelog/main.go new. This will create a file namedreleaseHighlights_$RELEASE.md. Edit that file to add content (example content)Update Metrics Documentation
docs/ontap-metrics.mdchangesThe day of the release
Build with Parametersand fill in the appropriate fields. Here's an example, whereRELEASE=25.05.0v$RELEASEfor the tag and pick the release/$RELEASE branch.$RELEASEin theRelease titletext inputCHANGELOG.mdfile, copy the single $RELEASE section at the top, and paste into the release notes text area.Set as the latest releasecheckbox is selectedCreate a discussion for this releasecheckbox is selectedPublish releasebuttongit switch release/$RELEASE25.05NOT25.05.0mike deploy --push --update-aliases $SHORT latestchore:prefix