-
Notifications
You must be signed in to change notification settings - Fork 26
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
Update micro build number #320
Update micro build number #320
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may not work. Let’s discuss with team.
016c53b
to
53bd85e
Compare
build/update_ext_version.py
Outdated
""" | ||
return f"1{datetime.datetime.now(tz=datetime.timezone.utc).strftime('%j%H%M')}" | ||
return f"{datetime.datetime.now(tz=datetime.timezone.utc).strftime('%y%j')}.{os.environ.get("REV", "")}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can just do Julian day and rev. Since we already capture year for major.
5028363
to
f6778b3
Compare
build/update_ext_version.py
Outdated
@@ -45,9 +46,9 @@ def is_even(v: Union[int, str]) -> bool: | |||
|
|||
def micro_build_number() -> str: | |||
"""Generates the micro build number. | |||
The format is `1<Julian day><hour><minute>`. | |||
The format is `<Year><Julian day><REV>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the version major is the year do we the full year. I think just YYJJJREV should be ok.
Update micro build number to use day, month and year.
Closed: #290