Skip to content

Commit

Permalink
Bumping version to 1.2.1 and generate changelog (#5713)
Browse files Browse the repository at this point in the history
* Bumping version to 1.2.1 and generate CHANGELOG

* Fix Docker file version

Co-authored-by: Github Build Bot <[email protected]>
Co-authored-by: leahwicz <[email protected]>
  • Loading branch information
3 people authored Aug 25, 2022
1 parent 1d6eb7d commit 07415ca
Show file tree
Hide file tree
Showing 15 changed files with 17 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.2.1rc2
current_version = 1.2.1
parse = (?P<major>\d+)
\.(?P<minor>\d+)
\.(?P<patch>\d+)
Expand Down
3 changes: 0 additions & 3 deletions .changes/1.2.1-rc2.md

This file was deleted.

3 changes: 2 additions & 1 deletion .changes/1.2.1-rc1.md → .changes/1.2.1.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## dbt-core 1.2.1-rc1 - August 10, 2022
## dbt-core 1.2.1 - August 25, 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))
- Fix error rendering docs block in metrics description ([#5585](https://github.com/dbt-labs/dbt-core/issues/5585), [#5603](https://github.com/dbt-labs/dbt-core/pull/5603))
- Use sys.exit instead of exit ([#5621](https://github.com/dbt-labs/dbt-core/issues/5621), [#5627](https://github.com/dbt-labs/dbt-core/pull/5627))
- 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))

### Contributors
- [@varun-dc](https://github.com/varun-dc) ([#5627](https://github.com/dbt-labs/dbt-core/pull/5627))
7 changes: 0 additions & 7 deletions .changes/1.2.1/Fixes-20220726-113636.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions .changes/1.2.1/Fixes-20220803-144221.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions .changes/1.2.1/Fixes-20220808-112001.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions .changes/1.2.1/Fixes-20220815-230409.yaml

This file was deleted.

7 changes: 2 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@
- 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
## dbt-core 1.2.1 - August 25, 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))
- Fix error rendering docs block in metrics description ([#5585](https://github.com/dbt-labs/dbt-core/issues/5585), [#5603](https://github.com/dbt-labs/dbt-core/pull/5603))
- Use sys.exit instead of exit ([#5621](https://github.com/dbt-labs/dbt-core/issues/5621), [#5627](https://github.com/dbt-labs/dbt-core/pull/5627))
- 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))

### Contributors
- [@varun-dc](https://github.com/varun-dc) ([#5627](https://github.com/dbt-labs/dbt-core/pull/5627))
Expand Down
2 changes: 1 addition & 1 deletion core/dbt/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,5 +235,5 @@ def _get_adapter_plugin_names() -> Iterator[str]:
yield plugin_name


__version__ = "1.2.1rc2"
__version__ = "1.2.1"
installed = get_installed_version()
2 changes: 1 addition & 1 deletion core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


package_name = "dbt-core"
package_version = "1.2.1rc2"
package_version = "1.2.1"
description = """With dbt, data analysts and engineers can build analytics \
the way engineers build applications."""

Expand Down
12 changes: 6 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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@<some_version> is correct

ARG [email protected].1rc2
ARG [email protected].1rc2
ARG [email protected].1rc2
ARG [email protected].1rc2
ARG [email protected].1rc2
ARG [email protected].1rc2
ARG [email protected].1
ARG [email protected].1
ARG [email protected].1
ARG [email protected].0
ARG [email protected].0
ARG [email protected].0
# special case args
ARG dbt_spark_version=all
ARG dbt_third_party
Expand Down
2 changes: 1 addition & 1 deletion plugins/postgres/dbt/adapters/postgres/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "1.2.1rc2"
version = "1.2.1"
2 changes: 1 addition & 1 deletion plugins/postgres/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _dbt_psycopg2_name():


package_name = "dbt-postgres"
package_version = "1.2.1rc2"
package_version = "1.2.1"
description = """The postgres adapter plugin for dbt (data build tool)"""

this_directory = os.path.abspath(os.path.dirname(__file__))
Expand Down
2 changes: 1 addition & 1 deletion tests/adapter/dbt/tests/adapter/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "1.2.1rc2"
version = "1.2.1"
2 changes: 1 addition & 1 deletion tests/adapter/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


package_name = "dbt-tests-adapter"
package_version = "1.2.1rc2"
package_version = "1.2.1"
description = """The dbt adapter tests for adapter plugins"""

this_directory = os.path.abspath(os.path.dirname(__file__))
Expand Down

0 comments on commit 07415ca

Please sign in to comment.