Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
* release:
  fix: catch correct exception
  fix: github action comparison error
  • Loading branch information
chamini2 committed Aug 21, 2023
2 parents 03400d4 + 47e66df commit 8e10ea3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
if: inputs.package == dbt-fal
if: inputs.package == 'dbt-fal'
with:
branch: bump-${{ inputs.package }}-${{ env.publishing_version }}
delete-branch: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def dbt_installed_version():
"""Returns: dbt version"""
try:
return pkg_resources.get_distribution("dbt-core").version
except ImportError:
except pkg_resources.DistributionNotFound:
return


Expand All @@ -121,7 +121,7 @@ def fal_installed_version():
"""Returns: fal version"""
try:
return pkg_resources.get_distribution("dbt-fal").version
except ImportError:
except pkg_resources.DistributionNotFound:
return


Expand Down
4 changes: 2 additions & 2 deletions projects/adapter/src/fal/dbt/telemetry/telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def dbt_installed_version():
"""Returns: dbt version"""
try:
return pkg_resources.get_distribution("dbt-core").version
except ImportError:
except pkg_resources.DistributionNotFound:
return


Expand All @@ -128,7 +128,7 @@ def fal_installed_version():
"""Returns: fal version"""
try:
return pkg_resources.get_distribution("dbt-fal").version
except ImportError:
except pkg_resources.DistributionNotFound:
return


Expand Down

0 comments on commit 8e10ea3

Please sign in to comment.