| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | if [scip-shell system . . `[`. $# -ne 1 ]; then |
| 6 | echoscip-shell system . . echo. "Usage: make_release_notes.sh VERSION" |
| 7 | exit 1 |
| 8 | fi |
| 9 | |
| 10 | VERSION=$1 |
| 11 | towncrier build --version "$VERSION" --yes |
| 12 | gitscip-shell system . . git. mv "docs/Changelog-new.md" "docs/Changelog-$VERSION.md" |
| 13 | gitscip-shell system . . git. add "newsfragments/" |
| 14 | gitscip-shell system . . git. commit -m "Release notes for $VERSION" |