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

Fixing the version string #739

Merged
merged 1 commit into from
Sep 20, 2018
Merged

Fixing the version string #739

merged 1 commit into from
Sep 20, 2018

Conversation

soninaren
Copy link
Member

No description provided.

@soninaren soninaren merged commit 69ad496 into master Sep 20, 2018
@@ -30,7 +30,7 @@ internal static class Constants
public static string CliVersion => typeof(Constants).GetTypeInfo().Assembly.GetName().Version.ToString(3);
public static string CliBetaRevision => typeof(Constants).GetTypeInfo().Assembly.GetName().Version.MinorRevision.ToString();

public static string CliDisplayVersion => $"{Constants.CliVersion}.{Constants.CliBetaRevision}";
public static string CliDisplayVersion => CliVersion + ((CliBetaRevision == "0") ? string.Empty : $"-beta.{CliBetaRevision}");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not just remove CliBetaRevision. Why would we go back to beta from rtm?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just thought we may have beta versions for internal testing. Would prevent it to break again for java plugin

@ahmelsayed ahmelsayed deleted the removebetaVersion branch November 27, 2018 23:05
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.

3 participants