From 838e5daff3ac2a91400e97073ce982276da7ab59 Mon Sep 17 00:00:00 2001 From: Daniel Tom Date: Fri, 20 Sep 2024 14:36:47 +0200 Subject: [PATCH 1/2] Revert xd-ducklake changes This reverts commit b1121e64dd8e9af99341e738930b5622072f6967. --- .github/workflows/release.yml | 7 ++++--- setup.cfg | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9efa1c2e..0413402f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,9 @@ name: Publish Python 🐍 distribution 📦 to PyPI on: - workflow_dispatch: # Only manual trigger and only for the main branch - branches: - - main + push: + tags: + - '[0-9]+.[0-9]+.[0-9]+' jobs: build: @@ -33,6 +33,7 @@ jobs: publish-to-pypi: name: >- Publish Python 🐍 distribution 📦 to PyPI + if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes needs: - build runs-on: ubuntu-latest diff --git a/setup.cfg b/setup.cfg index 1f45d968..2fa0965d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -name = xd-ducklake +name = dbt-ducklake author = Duck Lake author_email = duck.lake@no-reply.com url = https://github.com/godatadriven/dbt-duckdb From 88af6ccf6f455aef188381d2d0a275a10882a24f Mon Sep 17 00:00:00 2001 From: Daniel Tom Date: Fri, 20 Sep 2024 14:37:00 +0200 Subject: [PATCH 2/2] Revert "publish to own pypi" This reverts commit 2a7a7eae3c54bc6cf14912bb7ca64e8d60b6b3ab. --- .github/workflows/release.yml | 2 +- setup.cfg | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0413402f..8157c509 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest environment: name: pypi - url: https://pypi.org/p/xd-ducklake + url: https://pypi.org/p/dbt-duckdb permissions: id-token: write # IMPORTANT: mandatory for trusted publishing diff --git a/setup.cfg b/setup.cfg index 2fa0965d..603fd690 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,8 +1,8 @@ [metadata] -name = dbt-ducklake -author = Duck Lake -author_email = duck.lake@no-reply.com -url = https://github.com/godatadriven/dbt-duckdb +name = dbt-duckdb +author = Josh Wills +author_email = joshwills+dbt@gmail.com +url = https://github.com/jwills/dbt-duckdb summary = The duckdb adapter plugin for dbt (data build tool) description_file = README.md long_description_content_type = text/markdown