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
chore: use semantic-release for most of release script execution (#1165)
* chore: use semantic-release for most of release script execution
* docs: update readme
* remove unused modules from release.py
* cleanup more
* cleanup more
* simplify
* reformat with ruff
Copy file name to clipboardExpand all lines: README.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -529,13 +529,18 @@ uv run pytest -n 2 test/functional/ios/search_context/find_by_ios_class_chain_te
529
529
530
530
Follow the below steps.
531
531
532
+
Set `GH_TOKEN` env var to update the GitHub contents.
533
+
532
534
```bash
533
-
uv pip install setuptools
535
+
# Used to publish the package to pypi
534
536
uv pip install twine
535
-
# Type the new version number and 'yes' if you can publish it
536
-
# You can test the command with DRY_RUN
537
-
DRY_RUN=1 ./release.sh
538
-
./release.sh # release
537
+
538
+
rm -rf dist
539
+
# bumping the version, building a package and creating a tag.
540
+
uv run semantic-release version
541
+
542
+
# this 'release' script now has pushing built modules to pypi only.
543
+
./release.sh # and type the target version.
539
544
```
540
545
541
546
If the `pypi` was not able to publish with user name and password, please try out `-u` and `-p` option by yourself with `twine` such as `twine upload -u <name> -p <pass> dist/Appium-Python-Client-4.1.0.tar.gz`.
0 commit comments