You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2021/11/12 03:06:04 UTC
[superset] branch bugfix/13674 updated: lint
This is an automated email from the ASF dual-hosted git repository.
mayurnewase pushed a commit to branch bugfix/13674
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/bugfix/13674 by this push:
new 467a1ba lint
467a1ba is described below
commit 467a1bae7cd6d581f446bd75a6a5554114a0ab1c
Author: Mayur <ma...@gmail.com>
AuthorDate: Fri Nov 12 08:34:48 2021 +0530
lint
---
setup.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 4ca45e51..4ff1ba9 100644
--- a/setup.py
+++ b/setup.py
@@ -29,8 +29,9 @@ PACKAGE_JSON = os.path.join(BASE_DIR, "superset-frontend", "package.json")
with io.open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
+
def get_version():
- version_string = "1.3.2" # current latest as last fallback
+ version_string = "1.3.2" # current latest as last fallback
try:
s = subprocess.check_output(["git", "describe", "--tags", "--abbrev=0"])
version_string = s.decode().strip()
@@ -39,6 +40,7 @@ def get_version():
version_string = json.load(package_file)["version"]
return version_string
+
def get_git_sha() -> str:
try:
s = subprocess.check_output(["git", "rev-parse", "HEAD"])