Skip to content

CI injects the agent tag as the server version (git describe picks agent/v1.4.0) #869

Description

@gnacho

In .github/workflows/go.yml the server build injects httpapi.Version with VER=$(git describe --tags --abbrev=0). Since the agent/v1.4.0 tag was created on main after v2.28.35, describe now resolves to 'agent/v1.4.0' and the running server reports that as its own version (/api/health and the startup banner), e.g. on the home instance after deploying main@1133dba.

Cosmetic, but confusing: the UI shows the server version as agent/v1.4.0. The updater availability check is commit-based so updates still work. Fix: filter describe to version tags (e.g. 'v[0-9]*' match) when computing VER.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions