File tree Expand file tree Collapse file tree 1 file changed +10
-18
lines changed
Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Original file line number Diff line number Diff line change 29295. Check if release works on pypi:
3030
3131 ` ` ` shell
32- python -m build
33-
34- # twine must be up to date (3.3.0 works). System installed twine can interfere.
35- twine upload --repository-url https://test.pypi.org/legacy/ dist/genomepy-${new_version} *
36-
37- pip uninstall genomepy
38-
39- # the \ is to escape the ==, so the variable ${new_version} can be called
40- pip install --extra-index-url https://test.pypi.org/simple/ genomepy\= =${new_version}
32+ pip install uv
33+ uv pip install hatch
34+ hatch build -t wheel
35+ uv pip install --system dist/* .whl --force-reinstall
4136
4237 # tests
4338 genomepy --version
6863 git push --follow-tags origin develop master
6964 ` ` `
7065
71- 8. Upload to pypi:
66+ 8. Release on pypi:
7267
73- ` ` ` shell
74- python -m build
75- twine upload dist/genomepy-${new_version} *
76- ` ` `
68+ Done automatically by github actions.
7769
78- 9. Create release on github (if it not already exists)
70+ 9. Release on github:
7971
8072 * Update release with CHANGELOG information from the latest version
8173 * Download the tarball from the github release (` .tar.gz` ).
8274 * Attach downloaded tarball to release as binary (this way the download count get tracked).
8375
84- 10a. Update bioconda package
76+ 10a. Release on bioconda
8577
8678 * wait for the bioconda bot to create a PR
87- * update dependencies in the bioconda recipe.yaml if needed
79+ * in the PR, update dependencies in the bioconda recipe.yaml
8880 * approve the PR
8981 * comment: @bioconda-bot please merge
9082
91- 10b. Update bioconda package
83+ 10b. Release on bioconda
9284
9385 * fork bioconda/bioconda-recipes
9486 * follow the steps in the [docs](https://bioconda.github.io/contributor/workflow.html)
You can’t perform that action at this time.
0 commit comments