Skip to content

Commit

Permalink
Use appropriate archive name (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare authored Mar 1, 2024
1 parent ce32e05 commit 5910316
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 5910316

Please sign in to comment.