Skip to content

Commit 09014a7

Browse files
Update release process (#66)
1 parent cf55bd4 commit 09014a7

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

RELEASE.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,21 @@ Example `version number`
1818
export PREVIOUS=<previous version number>
1919
export ORG="networkx"
2020
export REPO="nx-parallel"
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

29+
cat ${VERSION}.md | cat - ${LOG} > temp && mv temp ${LOG}
30+
2831
- Update `__version__` in `nx_parallel/__init__.py`.
2932

3033
- Commit changes:
3134

32-
git add nx_parallel/__init__.py CHANGELOG.md
35+
git add nx_parallel/__init__.py ${LOG}
3336
git commit -m "Designate ${VERSION} release"
3437

3538
- Tag the release in git:
@@ -50,6 +53,18 @@ Example `version number`
5053

5154
https://github.com/networkx/nx-parallel/tags
5255

56+
- Create release from tag
57+
58+
- go to https://github.com/networkx/nx-parallel/releases/new?tag=v${VERSION}
59+
- add v${VERSION} for the `Release title`
60+
- paste contents (or upload) of ${VERSION}.md in the `Describe this release section`
61+
- if pre-release check the box labelled `Set as a pre-release`
62+
63+
- Update https://github.com/networkx/nx-parallel/milestones:
64+
65+
- close old milestone
66+
- ensure new milestone exists (perhaps setting due date)
67+
5368
- Update `__version__` in `nx_parallel/__init__.py`.
5469

5570
- Commit changes:

0 commit comments

Comments
 (0)