Skip to content

Commit

Permalink
Merge pull request #245 from dbt-msft/fix-version-verify
Browse files Browse the repository at this point in the history
fix version matching
  • Loading branch information
sdebruyn authored Jun 4, 2022
2 parents 666d0d9 + 1516cf6 commit 2467278
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dbt/adapters/sqlserver/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "1.1.0.rc1"
version = "1.1.0rc1"
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
long_description = f.read()

package_name = "dbt-sqlserver"
authors_list = ["Mikael Ene", "Anders Swanson", "Sam Debruyn", "Cor Zuurmond"]


# get this from a separate file
Expand Down Expand Up @@ -43,7 +44,7 @@ class VerifyVersionCommand(install):
description = "Verify that the git tag matches our version"

def run(self):
tag = os.getenv("CIRCLE_TAG")
tag = os.getenv("GITHUB_REF_NAME")
tag_without_prefix = tag[1:]

if tag_without_prefix != package_version:
Expand All @@ -60,7 +61,7 @@ def run(self):
long_description=description,
long_description_content_type="text/markdown",
license="MIT",
author="Mikael Ene, Anders Swanson, Sam Debruyn, Cor Zuurmond",
author=", ".join(authors_list),
url="https://github.com/dbt-msft/dbt-sqlserver",
packages=find_namespace_packages(include=["dbt", "dbt.*"]),
include_package_data=True,
Expand Down

0 comments on commit 2467278

Please sign in to comment.