Merge pull request #32009 from ClickHouse/fix_build_on_master

Fix build on master
This commit is contained in:
alesapin 2021-11-30 19:00:18 +03:00 committed by GitHub
commit cd173d40d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,7 +161,7 @@ if __name__ == "__main__":
release_or_pr = pr_info.head_ref release_or_pr = pr_info.head_ref
elif pr_info.number == 0: elif pr_info.number == 0:
# for pushes to master - major version # for pushes to master - major version
release_or_pr = ".".join(version.as_tuple[:2]) release_or_pr = ".".join(version.as_tuple()[:2])
else: else:
# PR number for anything else # PR number for anything else
release_or_pr = str(pr_info.number) release_or_pr = str(pr_info.number)