Skip to content
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

Version changes. #148

Merged
merged 2 commits into from May 23, 2020
Merged

Version changes. #148

merged 2 commits into from May 23, 2020

Conversation

FLHerne
Copy link
Contributor

@FLHerne FLHerne commented May 19, 2020

No description provided.

Includes the path to nmlc, the path and version of the Python
 interpreter, and whether the C version of nml.lz77 is available.
Examples after this patch:
 Release                         | 0.5.2
 Release (+ uncommitted change)  | 0.5.2.post20200519+m
 Commit on master                | 0.5.2.post20200519+g909f3b6
 Commit on branch (+ u/c change) | 0.5.2.post20200519+some.branch.g909f3b6.m

 - Use only ".postN" rather than ".post0.devN"
    - Less cluttered.

 - Add date, branch and +m for uncommitted changes to a tagged version.
    - Tell different modified versions apart better.
    - Fixes "0.5.2m is an invalid version".

 - Replace "-" with "." in branch names.
    - Fixes "UserWarning: normalizing version...", and avoids
      inconsistency between the version in __version__.py and the one
      used in paths created by setuptools.

 - "m" suffix is now ".m" after a commit hash.
    - Easier to spot.

 - Remove "detailed" parameter and output.
    - Unused.
@FLHerne FLHerne merged commit 19f52d9 into OpenTTD:master May 23, 2020
@FLHerne FLHerne deleted the flh-version-info branch April 2, 2021 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants