summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIrina Truong <i.chernyavska@gmail.com>2022-02-21 12:27:39 -0800
committerGitHub <noreply@github.com>2022-02-21 12:27:39 -0800
commit72204adb986f33378d45435ee2286f9f33b29966 (patch)
tree241fccb83afefa799c3aa5b0f8ada9d5cef10620
parent54f0cc9ddd060ac62269666073357b1eedadd545 (diff)
Prepare to release 3.4.0. (#1315)
* Prepare to release 3.4.0. * Add the TBD section.
-rw-r--r--RELEASES.md17
-rw-r--r--changelog.rst15
-rw-r--r--release_procedure.txt13
3 files changed, 30 insertions, 15 deletions
diff --git a/RELEASES.md b/RELEASES.md
new file mode 100644
index 00000000..37cf4d2e
--- /dev/null
+++ b/RELEASES.md
@@ -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.
+```
diff --git a/changelog.rst b/changelog.rst
index 7fbd35a6..1f0bc595 100644
--- a/changelog.rst
+++ b/changelog.rst
@@ -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:
----------
diff --git a/release_procedure.txt b/release_procedure.txt
deleted file mode 100644
index 9f3bff0e..00000000
--- a/release_procedure.txt
+++ /dev/null
@@ -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!