File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,18 +18,21 @@ Example `version number`
1818 export PREVIOUS=<previous version number>
1919 export ORG="scientific-python"
2020 export REPO="spin"
21+ export LOG="CHANGELOG.md"
2122
2223- Autogenerate release notes
2324
24- changelist ${ORG}/${REPO} v${PREVIOUS} main --version ${VERSION}
25+ changelist ${ORG}/${REPO} v${PREVIOUS} main --version ${VERSION} --out ${VERSION}.md
2526
2627- Put the output of the above command at the top of ` CHANGELOG.md `
2728
28- - Update ` version ` in ` pyproject.toml ` .
29+ cat ${VERSION}.md | cat - ${LOG} > temp && mv temp ${LOG}
30+
31+ - Update ` version ` in ` spin/__init__.py ` .
2932
3033- Commit changes:
3134
32- git add pyproject.toml CHANGELOG.md
35+ git add spin/__init__.py CHANGELOG.md
3336 git commit -m "Designate ${VERSION} release"
3437
3538- Tag the release in git:
@@ -50,10 +53,10 @@ Example `version number`
5053
5154 https://github.com/scientific-python/spin/tags
5255
53- - Update ` version ` in ` pyproject.toml ` .
56+ - Update ` version ` in ` spin/__init__.py ` .
5457
5558- Commit changes:
5659
57- git add pyproject.toml
60+ git add spin/__init__.py
5861 git commit -m 'Bump version'
5962 git push origin main
You can’t perform that action at this time.
0 commit comments