Skip to content

Harbor CLI binary is missing git-commit SHA #726

@bupd

Description

@bupd

Summary

Harbor-CLI binary currently doesnt have git commit SHA included in its binary - we need to fix it,
Context: previously it was present - problem is missing ldflags when building the binary, fix the dagger build binary to include the correct ldflags

❯ harbor-cli version
INFO[0000] Data file at /home/bupd/.local/share/harbor-cli/data.yaml updated with new configPath: /home/bupd/.config/harbor-cli/config.yaml
Version:      0.0.18
Go version:   1.24.8
Git commit:
Built:        2026-03-03T14:43:23Z
OS/Arch:      linux/amd64

/label good-first-issue
/label bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: CriticalImpacts essential functionality, degrading the user experiebugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions