Skip to content

Commit d65d39b

Browse files
Add note on keeping the hash constant. See #109.
1 parent 7adc1c8 commit d65d39b

1 file changed

Lines changed: 23 additions & 2 deletions

File tree

docs/ReleaseGuide.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,29 @@ The release of the `python-bindings` repository is made directly from a release
2222

2323
b) If this is a "real" release: As soon as one approving review is made, merge the release PR (from `python-bindings-v2.1.1.1`) into `master`.
2424

25-
6. Merge `master` into `develop` for synchronization of `develop`.
25+
5. Merge `master` into `develop` for synchronization of `develop`.
2626

27-
7. If everything is in order up to this point then the new version can be released by hitting the "Publish release" button in your Release Draft. This will create the corresponding tag and trigger [publishing the release to PyPI](https://github.com/precice/python-bindings/actions?query=workflow%3A%22Upload+Python+Package%22).
27+
6. If everything is in order up to this point then the new version can be released by hitting the "Publish release" button in your Release Draft. This will create the corresponding tag and trigger [publishing the release to PyPI](https://github.com/precice/python-bindings/actions?query=workflow%3A%22Upload+Python+Package%22).
28+
29+
7. Add an empty commit on master via `git checkout master`, then `git commit --allow-empty -m "post-tag bump"`. Check that everything is in order via `git log`. Important: The `tag` and `origin/master` should not point to the same commit. For example:
30+
31+
```
32+
commit 44b715dde4e3194fa69e61045089ca4ec6925fe3 (HEAD -> master, origin/master)
33+
Author: Benjamin Rodenberg <benjamin.rodenberg@in.tum.de>
34+
Date: Wed Oct 20 10:52:41 2021 +0200
35+
36+
post-tag bump
37+
38+
commit d2645cc51f84ad5eda43b9c673400aada8e1505a (tag: v2.3.0.1)
39+
Merge: 2039557 aca2354
40+
Author: Benjamin Rodenberg <benjamin.rodenberg@in.tum.de>
41+
Date: Tue Oct 19 12:57:24 2021 +0200
42+
43+
Merge pull request #132 from precice/python-bindings-v2.3.0.1
44+
45+
Release v2.3.0.1
46+
```
47+
48+
For more details refer to https://github.com/precice/python-bindings/issues/109 and https://github.com/python-versioneer/python-versioneer/issues/217.
2849

2950
8. Update Spack package (refer to `python-bindings/spack/README.md`).

0 commit comments

Comments
 (0)