Debian Codegraph @

RELEASING.md

raw symbols SCIP
1 # Releasing pykdtree
2
3 1. Add release information to README.rst
4 2. Update version number in setup.py
5 3. run `loghub` and update the `CHANGELOG.md` file and commit the changes:
6
7 ```
8 loghub storpipfugl/pykdtree --token $LOGHUB_GITHUB_TOKEN -st $(git tag --sort=-version:refname --list 'v*' | head -n 1) -plg bug "Bugs fixed" -plg enhancement "Features added" -plg documentation "Documentation changes"
9 ```
10
11 This uses a `LOGHUB_GITHUB_TOKEN` environment variable. This must be created
12 on GitHub and it is recommended that you add it to your `.bashrc` or
13 `.bash_profile` or equivalent.
14
15 This command will create a CHANGELOG.temp file which need to be added
16 to the top of the CHANGLOG.md file. The same content is also printed
17 to terminal, so that can be copy-pasted, too. Remember to update also
18 the version number to the same given in step 5. Don't forget to commit
19 CHANGELOG.md!
20
21 4. Create a git annotated tag by running:
22
23 ```
24 git tag -a vX.Y.Z -m "Version X.Y.Z"
25 ```
26
27 5. Push to github with:
28
29 ```
30 git push --follow-tags
31 ```
32
33 6. Wait for tests/actions to pass on GitHub.
34 7. Click "Draft a new release" at https://github.com/storpipfugl/pykdtree/releases.
35 Title it "Version X.Y.Z" and include the release notes for this version in the description.
36