From ce32e05bc35060cd97f334c44b5841ddefc9bddd Mon Sep 17 00:00:00 2001 From: Mike Alfare <13974384+mikealfare@users.noreply.github.com> Date: Fri, 1 Mar 2024 17:20:24 -0500 Subject: [PATCH 1/3] [Version bump] 1.8.0b1 (#30) --- dbt/adapters/postgres/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt/adapters/postgres/__version__.py b/dbt/adapters/postgres/__version__.py index f15b401d..6496f3e2 100644 --- a/dbt/adapters/postgres/__version__.py +++ b/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.8.0a1" +version = "1.8.0b1" From 59103164c58afeefcf209f56df2ed38a714e74c5 Mon Sep 17 00:00:00 2001 From: Mike Alfare <13974384+mikealfare@users.noreply.github.com> Date: Fri, 1 Mar 2024 18:10:10 -0500 Subject: [PATCH 2/3] Use appropriate archive name (#31) --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ccf805f5..69542465 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,10 +37,20 @@ jobs: - name: Setup `hatch` uses: dbt-labs/dbt-adapters/.github/actions/setup-hatch@main + - name: Inputs + id: release-inputs + run: | + version=$(hatch version) + archive_name=dbt-postgres-$version-${{ inputs.deploy-to }} + echo "archive-name=$archive_name" >> $GITHUB_OUTPUT + - name: Build `dbt-postgres` uses: dbt-labs/dbt-adapters/.github/actions/build-hatch@main + with: + archive-name: ${{ steps.release-inputs.outputs.archive-name }} - name: Publish to PyPI uses: dbt-labs/dbt-adapters/.github/actions/publish-pypi@main with: pypi-repository-url: ${{ vars.PYPI_REPOSITORY_URL }} + archive-name: ${{ steps.release-inputs.outputs.archive-name }} From 03e39d8fcdf5caa931019411142bf1dbef114502 Mon Sep 17 00:00:00 2001 From: Mila Page <67295367+VersusFacit@users.noreply.github.com> Date: Tue, 19 Mar 2024 12:28:36 -0700 Subject: [PATCH 3/3] Add dummy file. (#33) Co-authored-by: Mila Page --- .github/workflows/release-internal.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows/release-internal.yml diff --git a/.github/workflows/release-internal.yml b/.github/workflows/release-internal.yml new file mode 100644 index 00000000..d868682a --- /dev/null +++ b/.github/workflows/release-internal.yml @@ -0,0 +1 @@ +# this is an empty file