瀏覽代碼

howto_release.md: alternative ChangeLog generation line

Markus Neteler 3 年之前
父節點
當前提交
4921d17500
共有 1 個文件被更改,包括 9 次插入3 次删除
  1. 9 3
      doc/howto_release.md

+ 9 - 3
doc/howto_release.md

@@ -111,8 +111,8 @@ Example:
 ```bash
 7
 8
-1RC1
-2019
+7RC1
+2022
 ```
 
 ### Create release tag
@@ -187,7 +187,13 @@ Using GH API here, see also
 gh api repos/OSGeo/grass/releases/generate-notes -f tag_name="7.8.7" -f previous_tag_name=7.8.6 -f target_commitish=releasebranch_7_8 -q .body
 ```
 
-Importantly, these notes need to be manually sorted into the various categories.
+If this fails, also a date may be used (that of the last release):
+
+```bash
+git log --oneline --after="2021-10-10" | cut -d' ' -f2- | sed 's+^+* +g' | sed 's+(#+https://github.com/OSGeo/grass/pull/+g' | sed 's+)$++g' | sort -u
+```
+
+Importantly, these notes need to be manually sorted into the various categories (modules, wxGUI, library, docker, ...).
 
 ### Changelog file for upload