You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click the right corner `Run workflow` button, then fill in the current version number and new version number, and choose `publish` to publish Github release, then click the `Run workflow` button.
199
181
200
-
# clean up any previously generated artefacts
201
-
rm -rf nplinker.egg-info
202
-
rm -rf dist
182
+
The action will first update the version with the command `make update-version`. Then it will generate a release notes and update the `CHANGELOG.md` file with the notes. After that, the action will commit and push the changes. In the end, the action will create a Github release with the new version number and create a tag for the release.
203
183
204
-
# create the source distribution and the wheel
205
-
python3 -m build
184
+
After the action is finished successfully, you can go to the [release page](https://github.com/NPLinker/nplinker/releases) to check the release.
206
185
207
-
# upload to test pypi instance (requires credentials)
This repository uses the GitHub-Zenodo integration, the new Github release will trigger Zenodo into making a snapshot of the repository and sticking a DOI on it. Check the [Zenodo page](https://zenodo.org/records/14723594) to see the new snapshot.
Check that the package works as it should when installed from pypitest.
234
-
235
-
Then upload to pypi.org with:
236
-
237
-
```shell
238
-
# Back to the first terminal,
239
-
# FINAL STEP: upload to PyPI (requires credentials)
240
-
twine upload dist/*
241
-
```
242
-
243
-
### (3/3) GitHub
244
-
245
-
Don't forget to also make a [release on GitHub](https://github.com/NPLinker/nplinker/releases/new). If your repository uses the GitHub-Zenodo integration this will also trigger Zenodo into making a snapshot of your repository and sticking a DOI on it.
206
+
After publishing to pypi, you can check the [pypi page](https://pypi.org/project/nplinker/#history) to see the new version.
0 commit comments