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
* Port modernization changes from pgspecial dbcli/pgspecial#154.
* Lowest postgres to test with is 10.
* Rename DEVELOP.rst -> CONTRIBUTING.rst.
* Coverage action is already included.
* uv pip.
* Port ruff options from mycli.
* Ruff fixes.
* Ruff fixes.
* Sort the reqs, add keyring.alt.
* Remove unnecessary fixture call.
* Update dev modules.
* All tests steps depend on uv.
* Add transaction scenarios to known problems.
* Add transaction scenarios to known problems.
* Skip yet another scenario.
* Fix rst command.
* Do not check ruff formatting.
* Update changelog.
* Comment out pre-commit ruff format hook.
You have been made the maintainer of `pgcli`? Congratulations! We have a release script to help you:
4
+
You have been made the maintainer of `pgcli`? Congratulations!
5
5
6
-
```sh
7
-
> python release.py --help
8
-
Usage: release.py [options]
9
-
10
-
Options:
11
-
-h, --help show this help message and exit
12
-
-c, --confirm-steps Confirm every step. If the step is not confirmed, it
13
-
will be skipped.
14
-
-d, --dry-run Print out, but not actually run any steps.
15
-
```
16
-
17
-
The script can be run with `-c` to confirm or skip steps. There's also a `--dry-run` option that only prints out the steps.
18
-
19
-
To release a new version of the package:
20
-
21
-
* Create and merge a PR to bump the version in the changelog ([example PR](https://github.com/dbcli/pgcli/pull/1325)).
22
-
* Pull `main` and bump the version number inside `pgcli/__init__.py`. Do not check in - the release script will do that.
23
-
* Make sure you have the dev requirements installed: `pip install -r requirements-dev.txt -U --upgrade-strategy only-if-needed`.
24
-
* Finally, run the release script: `python release.py`.
6
+
To release a new version of the package, [create a new release](https://github.com/dbcli/pgcli/releases) in Github. This will trigger a Github action which will run all the tests, build the wheel and upload it to PyPI.
0 commit comments