From 8e10994a71835d1db9f7497aebc8e227dbee0e25 Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Fri, 13 Oct 2023 12:49:58 -0700 Subject: [PATCH 1/2] Add release process documentation --- RELEASE.md | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 RELEASE.md diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000..faaa570 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,59 @@ +# Release process for `nx-parallel` + +## Introduction + +Example `version number` + +- 1.8.dev0 # development version of 1.8 (release candidate 1) +- 1.8rc1 # 1.8 release candidate 1 +- 1.8rc2.dev0 # development version of 1.8 release candidate 2 +- 1.8 # 1.8 release +- 1.9.dev0 # development version of 1.9 (release candidate 1) + +## Process + +- Set release variables: + + export VERSION= + export PREVIOUS= + export ORG="networkx" + export REPO="nx-parallel" + +- Autogenerate release notes + + changelist ${ORG}/${REPO} v${PREVIOUS} main --version ${VERSION} + +- Put the output of the above command at the top of `CHANGELOG.md` + +- Update `__version__` in `nx_parallel/__init__.py`. + +- Commit changes: + + git add nx_parallel/__init__.py CHANGELOG.md + git commit -m "Designate ${VERSION} release" + +- Tag the release in git: + + git tag -s v${VERSION} -m "signed ${VERSION} tag" + + If you do not have a gpg key, use -u instead; it is important for + Debian packaging that the tags are annotated + +- Push the new meta-data to github: + + git push --tags origin main + + where `origin` is the name of the `github.com:networkx/nx-parallel` + repository + +- Review the github release page: + + https://github.com/networkx/nx-parallel/tags + +- Update `version` in `pyproject.toml`. + +- Commit changes: + + git add pyproject.toml + git commit -m 'Bump version' + git push origin main From 1ab1fd7b763454e36a30abe6143bd715bec532f9 Mon Sep 17 00:00:00 2001 From: Mridul Seth Date: Fri, 13 Oct 2023 13:39:31 -0700 Subject: [PATCH 2/2] Update RELEASE.md --- RELEASE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index faaa570..7d0dc3d 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -50,7 +50,7 @@ Example `version number` https://github.com/networkx/nx-parallel/tags -- Update `version` in `pyproject.toml`. +- Update `__version__` in `nx_parallel/__init__.py`. - Commit changes: