Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix version matching #245

Merged
merged 1 commit into from
Jun 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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