File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed
Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 11---
22name : Release
3- about : Create a new release of cassis
3+ about : Create a new release of pycaprio
44
55---
66
77** Checklist**
88
99- [ ] Make sure all issues for the milestone are completed, otherwise move them
1010- [ ] Checkout the ` main ` branch
11- - [ ] Bump the version in ` cassis/__version__.py ` to a stable one, e.g. ` __version__ = "0.6 .0"` , commit and push
11+ - [ ] Bump the version in ` pyproject.toml ` to a stable one, e.g. ` version = "0.4 .0"` , commit and push
1212- [ ] Check and wait that the build completed.
1313- [ ] Create a tag for that version and push it
1414- [ ] Wait for the build and Pypi to show the new version
1515- [ ] Bump the version to the next development version, commit and push that.
16- - [ ] Convert the tag to a release on Github , write release note based on issues in the respective milestone
16+ - [ ] Convert the tag to a release on GitHub , write release note based on issues in the respective milestone
1717- [ ] Create a new milestone
Original file line number Diff line number Diff line change 55 tags :
66 - ' *'
77
8+ permissions :
9+ contents : read
10+ id-token : write
11+
812jobs :
9- build :
13+ release :
1014 runs-on : ubuntu-latest
15+ environment : release
1116 steps :
1217 - uses : actions/checkout@v4
1318 - uses : actions/setup-python@v5
2631 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
2732 uses : pypa/gh-action-pypi-publish@release/v1
2833 with :
29- user : __token__
30- password : ${{ secrets.test_pypi_password }}
3134 repository-url : https://test.pypi.org/legacy/
3235 - name : Publish package to PyPI
3336 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
3437 uses : pypa/gh-action-pypi-publish@release/v1
35- with :
36- user : __token__
37- password : ${{ secrets.pypi_password }}
Original file line number Diff line number Diff line change 22name = " pycaprio"
33version = " 0.4.0-dev"
44readme = " README.md"
5- # homepage = "https://github.com/inception-project/pycaprio"
65repository = " https://github.com/inception-project/pycaprio"
76documentation = " https://pycaprio.readthedocs.io"
87description = " Python client for the INCEpTION annotation tool remote API"
@@ -34,7 +33,7 @@ bcrypt = "^4.3.0"
3433
3534[tool .ruff ]
3635line-length = 120
37- target-version = " py38 "
36+ target-version = " py39 "
3837
3938[build-system ]
4039requires = [" poetry_core>=1.0.0" ]
You can’t perform that action at this time.
0 commit comments