Skip to content

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

Description

@abceleung

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.

Activity

  1. cushon commented on Feb 29, 2024

    @cushon
    Collaborator

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

  2. cushon commented on Mar 6, 2024

    @cushon
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions