1
0
Fork 0

Prepare to release 3.4.0. (#1315)

* Prepare to release 3.4.0.

* Add the TBD section.
This commit is contained in:
Irina Truong 2022-02-21 12:27:39 -08:00 committed by GitHub
parent 54f0cc9ddd
commit 72204adb98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 15 deletions

17
RELEASES.md Normal file
View File

@ -0,0 +1,17 @@
Releasing pgcli
---------------
We have a script called `release.py` to automate the process.
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.
```
> python release.py --help
Usage: release.py [options]
Options:
-h, --help show this help message and exit
-c, --confirm-steps Confirm every step. If the step is not confirmed, it
will be skipped.
-d, --dry-run Print out, but not actually run any steps.
```

View File

@ -1,3 +1,16 @@
TBD
===
* [List new changes here].
3.4.0 (2022/02/21)
==================
Features:
---------
* Add optional support for automatically creating an SSH tunnel to a machine with access to the remote database ([related issue](https://github.com/dbcli/pgcli/issues/459)).
3.3.1 (2022/01/18)
==================
@ -7,7 +20,6 @@ Bug fixes:
* Prompt for password when -W is provided even if there is a password in keychain. Fixes #1307.
* Upgrade cli_helpers to 2.2.1
3.3.0 (2022/01/11)
==================
@ -16,7 +28,6 @@ Features:
* Add `max_field_width` setting to config, to enable more control over field truncation ([related issue](https://github.com/dbcli/pgcli/issues/1250)).
* Re-run last query via bare `\watch`. (Thanks: `Saif Hakim`_)
* Add optional support for automatically creating an SSH tunnel to a machine with access to the remote database ([related issue](https://github.com/dbcli/pgcli/issues/459)).
Bug fixes:
----------

View File

@ -1,13 +0,0 @@
# vi: ft=vimwiki
* Bump the version number in pgcli/__init__.py
* Commit with message: 'Releasing version X.X.X.'
* Create a tag: git tag vX.X.X
* Fix the image url in PyPI to point to github raw content. https://raw.githubusercontent.com/dbcli/pgcli/master/screenshots/image01.png
* Create source dist tar ball: python setup.py sdist
* Test this by installing it in a fresh new virtualenv. Run SanityChecks [./sanity_checks.txt].
* Upload the source dist to PyPI: https://pypi.python.org/pypi/pgcli
* pip install pgcli
* Run SanityChecks.
* Push the version back to github: git push --tags origin master
* Done!