Skip to content

Commit 99e807a

Browse files
committed
minor fixes
1 parent c91f9e1 commit 99e807a

File tree

3 files changed

+35
-2
lines changed

3 files changed

+35
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
5454
- name: Upload playwright test report
5555
if: always()
56-
uses: actions/upload-artifact@v3
56+
uses: actions/upload-artifact@v5
5757
with:
5858
name: playwright-tests
5959
path: |

RELEASING.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
We migrated from
2+
[~~bump2version~~](https://github.com/c4urself/bump2version)
3+
to
4+
[bump-my-version](https://callowayproject.github.io/bump-my-version)
5+
and use [twine](https://twine.readthedocs.io/en/stable/) for uploading releases.
6+
7+
```bash
8+
pip install --upgrade bump-my-version twine build
9+
git status ## working dir must be clean
10+
11+
## Bump to next release version
12+
bump-my-version show-bump
13+
bump-my-version bump --dry-run --verbose release
14+
# bump-my-version bump --verbose release
15+
16+
## Add -dev suffix for continued development on master branch
17+
bump-my-version show-bump
18+
bump-my-version bump --dry-run --verbose patch
19+
# bump-my-version bump --verbose patch
20+
21+
## ensure we package clean directories
22+
git push
23+
cd /tmp
24+
git clone [email protected]:ogdf/ogdf-python.git
25+
cd ogdf-python/
26+
git pull
27+
git checkout VERSION
28+
python -m build
29+
30+
## upload! (API token in enpass note)
31+
twine upload -r testpypi dist/*
32+
# twine upload dist/*
33+
```

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = [
77
]
88
requires-python = ">=3.7"
99
license = "Apache-2.0"
10-
readme = "README.rst"
10+
readme = "README.md"
1111
homepage = "https://ogdf.github.io"
1212
repository = "https://github.com/N-Coder/ogdf-python"
1313
documentation = "https://ogdf-python.readthedocs.io"

0 commit comments

Comments
 (0)