Browse Source

MINOR: Change version format in release notes python code

ijuma ewencp

Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #4171 from guozhangwang/KMinor-update-releasepy
pull/4171/merge
Guozhang Wang 7 years ago
parent
commit
b6765e46c8
  1. 2
      release_notes.py

2
release_notes.py

@ -32,7 +32,7 @@ if len(sys.argv) < 2: @@ -32,7 +32,7 @@ if len(sys.argv) < 2:
sys.exit(1)
version = sys.argv[1]
minor_version_dotless = "".join(version.split(".")[:3]) # i.e., 0.10.0 if version == 0.10.0.1
minor_version_dotless = "".join(version.split(".")[:2]) # i.e., 10 if version == 1.0.1
JIRA_BASE_URL = 'https://issues.apache.org/jira'
MAX_RESULTS = 100 # This is constrained for cloud instances so we need to fix this value

Loading…
Cancel
Save