@@ -18,18 +18,21 @@ Example `version number`
18
18
export PREVIOUS=<previous version number>
19
19
export ORG="networkx"
20
20
export REPO="nx-parallel"
21
+ export LOG="CHANGELOG.md"
21
22
22
23
- Autogenerate release notes
23
24
24
- changelist ${ORG}/${REPO} v${PREVIOUS} main --version ${VERSION}
25
+ changelist ${ORG}/${REPO} v${PREVIOUS} main --version ${VERSION} --out ${VERSION}.md
25
26
26
27
- Put the output of the above command at the top of ` CHANGELOG.md `
27
28
29
+ cat ${VERSION}.md | cat - ${LOG} > temp && mv temp ${LOG}
30
+
28
31
- Update ` __version__ ` in ` nx_parallel/__init__.py ` .
29
32
30
33
- Commit changes:
31
34
32
- git add nx_parallel/__init__.py CHANGELOG.md
35
+ git add nx_parallel/__init__.py ${LOG}
33
36
git commit -m "Designate ${VERSION} release"
34
37
35
38
- Tag the release in git:
@@ -50,6 +53,18 @@ Example `version number`
50
53
51
54
https://github.com/networkx/nx-parallel/tags
52
55
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
+
53
68
- Update ` __version__ ` in ` nx_parallel/__init__.py ` .
54
69
55
70
- Commit changes:
0 commit comments