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

1.20.0 binaries reports incorrect version (HEAD-SNAPSHOT) when called with the -v flag #1068

Closed
abceleung opened this issue Feb 21, 2024 · 2 comments

Comments

@abceleung
Copy link

abceleung commented Feb 21, 2024

Hi, I downloaded the Linux and Windows version of the google-java-format binaries (added in 1.20.0).

Both of them outputs google-java-format: Version HEAD-SNAPSHOT when called with the -v flag. Is this intended behavior?

The jar version correctly outputs google-java-format: Version 1.20.0.

@cushon cushon closed this as completed in f20d393 Feb 29, 2024
@cushon
Copy link
Collaborator

cushon commented Feb 29, 2024

Thanks, I fixed the release process to update the versions for the native image builds, the next release should include correct version numbers

@cushon
Copy link
Collaborator

cushon commented Mar 6, 2024

The fix has been released in https://github.com/google/google-java-format/releases/tag/v1.21.0

$ ./google-java-format_darwin-arm64 -version
google-java-format: Version 1.21.0

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

No branches or pull requests

2 participants