Skip to content

Commit

Permalink
howto_release.md: alternative ChangeLog generation line
Browse files Browse the repository at this point in the history
  • Loading branch information
neteler committed Jan 20, 2022
1 parent b54c4fd commit 4921d17
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions doc/howto_release.md
Expand Up @@ -111,8 +111,8 @@ Example:
```bash
7
8
1RC1
2019
7RC1
2022
```

### Create release tag
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 4921d17

Please sign in to comment.