adutra commented on code in PR #2179: URL: https://github.com/apache/polaris/pull/2179#discussion_r2228883842
########## site/content/release-guide.md: ########## @@ -113,9 +113,20 @@ git push apache release/x.y.z Go in the branch, and set the target release version: ``` -git checkoout release/x.y.z +git checkout release/x.y.z echo "x.y.z" > version.txt -git commit -a +``` + +and update the version in the Helm Chart in: + +* `helm/polaris/Chart.yaml` +* `helm/polaris/README.md` +* `helm/polaris/values.yaml` + +and commit/push the version bump: + +``` +git commit -a -m "Bump version to x.y.z" Review Comment: ```suggestion git commit -a -m "Bump Helm Chart version to x.y.z" ``` ########## site/content/release-guide.md: ########## @@ -188,9 +199,46 @@ cd polaris-dist-dev mkdir x.y.z cp /path/to/polaris/github/clone/repo/build/distribution/* x.y.z cp /path/to/polaris/github/clone/repo/runtime/distribution/build/distributions/* x.y.z -cp -r /path/to/polaris/github/clone/repo/helm/polaris helm-chart/x.y.z svn add x.y.z +``` + +### Stage Helm Chart package + +You can now create a Helm package with the following command in the Polaris source folder: + +``` +cd helm +helm package --sign --key 'My Key' --keyring ~/.gnupg/secring.kbx polaris +``` + +Create the signature and checksum for the Helm package tgz and prov files: + +``` +shasum -a 512 polaris-x.y.z.tgz > polaris-x.y.z.tgz.sha512 +gpg --armor --output polaris-x.y.z.tgz.asc --detach-sig polaris-x.y.z.tgz +shasum -a 512 polaris-x.y.z.tgz.prov > polaris-x.y.z.tgz.prov +gpg --armor --output polaris-x.y.z.tgz.prov.asc --detach-sig polaris-x.y.z.tgz.prov +``` + +Copy and Add the Helm package files to dist folder: + +``` +cd polaris-dist-dev +mkdir helm-chart/x.y.z +cp helm/*.tgz* helm-chart/x.y.z Review Comment: You just `cd polaris-dist-dev` so not sure this `cp` command is correct. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org