From 1d6eb7dcd563477c9c3233528929b74b2bc5e41d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 18 Aug 2022 13:02:13 -0400 Subject: [PATCH] Bumping version to 1.2.1rc2 and generate changelog (#5682) * Bumping version to 1.2.1rc2 and generate CHANGELOG * Remove newline Co-authored-by: Github Build Bot Co-authored-by: leahwicz <60146280+leahwicz@users.noreply.github.com> --- .bumpversion.cfg | 2 +- .changes/1.2.1-rc2.md | 3 +++ .../{unreleased => 1.2.1}/Fixes-20220815-230409.yaml | 0 CHANGELOG.md | 4 ++++ core/dbt/version.py | 2 +- core/setup.py | 2 +- docker/Dockerfile | 12 ++++++------ .../postgres/dbt/adapters/postgres/__version__.py | 2 +- plugins/postgres/setup.py | 2 +- tests/adapter/dbt/tests/adapter/__version__.py | 2 +- tests/adapter/setup.py | 2 +- 11 files changed, 20 insertions(+), 13 deletions(-) create mode 100644 .changes/1.2.1-rc2.md rename .changes/{unreleased => 1.2.1}/Fixes-20220815-230409.yaml (100%) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 718411081f4..284b064c7d5 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.2.1rc1 +current_version = 1.2.1rc2 parse = (?P\d+) \.(?P\d+) \.(?P\d+) diff --git a/.changes/1.2.1-rc2.md b/.changes/1.2.1-rc2.md new file mode 100644 index 00000000000..a6ebfc57887 --- /dev/null +++ b/.changes/1.2.1-rc2.md @@ -0,0 +1,3 @@ +## dbt-core 1.2.1-rc2 - August 18, 2022 +### Fixes +- Finishing logic upgrade to Redshift for name truncation collisions. ([#5586](https://github.com/dbt-labs/dbt-core/issues/5586), [#5656](https://github.com/dbt-labs/dbt-core/pull/5656)) diff --git a/.changes/unreleased/Fixes-20220815-230409.yaml b/.changes/1.2.1/Fixes-20220815-230409.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220815-230409.yaml rename to .changes/1.2.1/Fixes-20220815-230409.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 1eced95f139..f2c5e3fa6ec 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ - Changes are listed under the (pre)release in which they first appear. Subsequent releases include changes from previous releases. - "Breaking changes" listed under a version may require action from end users or external maintainers when upgrading to that version. - Do not edit this file directly. This file is auto-generated using [changie](https://github.com/miniscruff/changie). For details on how to document a change, see [the contributing guide](https://github.com/dbt-labs/dbt-core/blob/main/CONTRIBUTING.md#adding-changelog-entry) +## dbt-core 1.2.1-rc2 - August 18, 2022 +### Fixes +- Finishing logic upgrade to Redshift for name truncation collisions. ([#5586](https://github.com/dbt-labs/dbt-core/issues/5586), [#5656](https://github.com/dbt-labs/dbt-core/pull/5656)) + ## dbt-core 1.2.1-rc1 - August 10, 2022 ### Fixes - Fix handling of top-level exceptions ([#5564](https://github.com/dbt-labs/dbt-core/issues/5564), [#5560](https://github.com/dbt-labs/dbt-core/pull/5560)) diff --git a/core/dbt/version.py b/core/dbt/version.py index c6d93ba16bf..25d92f4ba4e 100644 --- a/core/dbt/version.py +++ b/core/dbt/version.py @@ -235,5 +235,5 @@ def _get_adapter_plugin_names() -> Iterator[str]: yield plugin_name -__version__ = "1.2.1rc1" +__version__ = "1.2.1rc2" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index e5dbdd8fe34..86358f77b6c 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.2.1rc1" +package_version = "1.2.1rc2" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications.""" diff --git a/docker/Dockerfile b/docker/Dockerfile index 8227a4a2e0d..9542961c4ef 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -14,12 +14,12 @@ FROM --platform=$build_for python:3.10.5-slim-bullseye as base # N.B. The refs updated automagically every release via bumpversion # N.B. dbt-postgres is currently found in the core codebase so a value of dbt-core@ is correct -ARG dbt_core_ref=dbt-core@v1.2.1rc1 -ARG dbt_postgres_ref=dbt-core@v1.2.1rc1 -ARG dbt_redshift_ref=dbt-redshift@v1.2.1rc1 -ARG dbt_bigquery_ref=dbt-bigquery@v1.2.1rc1 -ARG dbt_snowflake_ref=dbt-snowflake@v1.2.1rc1 -ARG dbt_spark_ref=dbt-spark@v1.2.1rc1 +ARG dbt_core_ref=dbt-core@v1.2.1rc2 +ARG dbt_postgres_ref=dbt-core@v1.2.1rc2 +ARG dbt_redshift_ref=dbt-redshift@v1.2.1rc2 +ARG dbt_bigquery_ref=dbt-bigquery@v1.2.1rc2 +ARG dbt_snowflake_ref=dbt-snowflake@v1.2.1rc2 +ARG dbt_spark_ref=dbt-spark@v1.2.1rc2 # special case args ARG dbt_spark_version=all ARG dbt_third_party diff --git a/plugins/postgres/dbt/adapters/postgres/__version__.py b/plugins/postgres/dbt/adapters/postgres/__version__.py index 4c65387be02..b6dc02a4b1b 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.2.1rc1" +version = "1.2.1rc2" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index 3240f4adee5..04bc45b6aab 100644 --- a/plugins/postgres/setup.py +++ b/plugins/postgres/setup.py @@ -41,7 +41,7 @@ def _dbt_psycopg2_name(): package_name = "dbt-postgres" -package_version = "1.2.1rc1" +package_version = "1.2.1rc2" description = """The postgres adapter plugin for dbt (data build tool)""" this_directory = os.path.abspath(os.path.dirname(__file__)) diff --git a/tests/adapter/dbt/tests/adapter/__version__.py b/tests/adapter/dbt/tests/adapter/__version__.py index 4c65387be02..b6dc02a4b1b 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.2.1rc1" +version = "1.2.1rc2" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index 76ea095462b..71790c3a507 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.2.1rc1" +package_version = "1.2.1rc2" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))