janhoy commented on code in PR #4413:
URL: https://github.com/apache/solr/pull/4413#discussion_r3225622617


##########
dev-tools/scripts/releaseWizard.yaml:
##########
@@ -1179,6 +1112,37 @@ groups:
   title: Publishing to the ASF Distribution Directory
   description: Once the vote has passed, the release may be published to the 
ASF Distribution Directory and to Maven Central.
   todos:
+  - !Todo
+    id: forward_port_changelog
+    title: Set release date and forward-port changelog to all branches
+    description: |
+      Now that the vote has passed, this step:
+
+      1. Writes today's date to `changelog/v{{ release_version 
}}/release-date.txt`
+      2. Regenerates `CHANGELOG.md` — now with the correct release date in the
+         version heading (e.g. `## [{{ release_version }}] - YYYY-MM-DD`)
+      3. Commits that to `{{ release_branch }}`
+      4. Cherry-picks **all** changelog-touching commits that are on
+         `{{ release_branch }}` but not yet on `{{ stable_branch }}` to both
+         `{{ stable_branch }}` and `main`
+      5. Pushes `{{ release_branch }}`, `{{ stable_branch }}`, and `main`
+
+      Can be run standalone:
+
+        python3 dev-tools/scripts/logchange.py forward-port \
+          --version {{ release_version }} \
+          --release-branch {{ release_branch }} \
+          --stable-branch {{ stable_branch }}
+    commands: !Commands
+      root_folder: '{{ git_checkout_folder }}'
+      commands_text: Set release date and cherry-pick changelog to stable and 
main
+      confirm_each_command: false
+      commands:
+      - !Command
+        cmd: python3 -u dev-tools/scripts/logchange.py forward-port --version 
{{ release_version }} --release-branch {{ release_branch }} --stable-branch {{ 
stable_branch }} --gradle-cmd {{ gradle_cmd }} --push

Review Comment:
   I think we'd like to not use "today's date' here but rather record the 
actual release date



-- 
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]

Reply via email to