From 120268850357d1dbf63eea9458514e46e4389d1c Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Wed, 4 Oct 2023 11:14:14 -0400 Subject: [PATCH] build: Iterate the version number --- CHANGELOG.rst | 4 ++-- csvkit/cli.py | 2 +- docs/conf.py | 2 +- docs/release.rst | 10 ---------- setup.py | 2 +- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 366f9e2a0..f2e1ee30a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,5 +1,5 @@ -Unreleased ----------- +1.2.0 - October 4, 2023 +----------------------- * fix: :doc:`/scripts/csvjoin` uses the correct columns when performing a ``--right`` join. * Add SQLAlchemy 2 support. diff --git a/csvkit/cli.py b/csvkit/cli.py index 3f3657279..58f386ce7 100644 --- a/csvkit/cli.py +++ b/csvkit/cli.py @@ -224,7 +224,7 @@ def _init_common_parser(self): '1-based numbering.') self.argparser.add_argument( - '-V', '--version', action='version', version='%(prog)s 1.1.1', + '-V', '--version', action='version', version='%(prog)s 1.2.0', help='Display version information and exit.') def _open_input_file(self, path): diff --git a/docs/conf.py b/docs/conf.py index 956edef31..e2cf996a4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,7 +12,7 @@ project = 'csvkit' copyright = '2016, Christopher Groskopf' -version = '1.1.1' +version = '1.2.0' release = version # -- General configuration ----------------------------------------------------- diff --git a/docs/release.rst b/docs/release.rst index c3cf0441f..f8357c2b5 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -28,13 +28,3 @@ Release process git tag -a x.y.z -m 'x.y.z release.' git push --follow-tags - -#. Upload to PyPI: - - .. code-block:: bash - - rm -rf dist - python -m build --sdist --wheel - twine upload dist/* - -#. Build the documentation on ReadTheDocs manually diff --git a/setup.py b/setup.py index 2b8edd0f8..2c8843eaf 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name='csvkit', - version='1.1.1', + version='1.2.0', description='A suite of command-line tools for working with CSV, the king of tabular file formats.', long_description=long_description, long_description_content_type='text/x-rst',