vtlim commented on code in PR #14411: URL: https://github.com/apache/druid/pull/14411#discussion_r1294015145
########## distribution/asf-release-process-guide.md: ########## @@ -370,20 +370,37 @@ $ svn commit -m 'add 0.17.0-rc3 artifacts' ### Update druid.staged.apache.org +This repo is the source of truth for the Markdown files. The Markdown files get copied to `druid-website-src` and built there as part of the release process. It's all handled by a script in that repo called `do_all_things`. + +For more thorough instructions and a description of what the `do_all_things` script does, see the [`druid-website-src` README](https://github.com/apache/druid-website-src) + 1. Pull https://github.com/apache/druid-website and https://github.com/apache/druid-website-src. These repositories should be in the same directory as your Druid repository that should have the release tag checked out. -2. From druid-website, checkout branch `asf-staging`. +2. From `druid-website`, checkout branch `asf-staging`. -3. From druid-website-src, create a release branch from `master` and run `./release.sh 0.17.0 0.17.0`, replacing `0.17.0` where the first argument is the release version and 2nd argument is commit-ish. This script will: +3. From `druid-website-src`, create a release branch from `master`, such as `27.0.0-docs`. + 1. Update the version list in `static/js/version`.js with the version you're releasing and the release date. The highest release version goes in position 0. + 1. In `scripts`, run: + + ```python + # Include `--skip-install` if you already have Docusaurus 2 installed in druid-website-src. + # The script assumes you use `npm`. If you use`yarn`, include `--yarn`. Review Comment: ```suggestion # The script assumes you use `npm`. If you use `yarn`, include `--yarn`. ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
