From 1516cf6625d1624c740c826f56a6fc1655125024 Mon Sep 17 00:00:00 2001 From: Sam Debruyn Date: Sat, 4 Jun 2022 11:48:16 +0200 Subject: [PATCH] fix version matching --- dbt/adapters/sqlserver/__version__.py | 2 +- setup.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dbt/adapters/sqlserver/__version__.py b/dbt/adapters/sqlserver/__version__.py index de5ddba2..d37cdcc7 100644 --- a/dbt/adapters/sqlserver/__version__.py +++ b/dbt/adapters/sqlserver/__version__.py @@ -1 +1 @@ -version = "1.1.0.rc1" +version = "1.1.0rc1" diff --git a/setup.py b/setup.py index 9db117a3..697d92cd 100644 --- a/setup.py +++ b/setup.py @@ -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 @@ -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: @@ -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,