Skip to content

Version file not updated for v0.6.3 and v0.6.4 releases #359

@vprashar2929

Description

@vprashar2929

Problem

The VERSION file in the repository still contains v0.6.2, but the latest git tag and GitHub release is v0.6.4. This causes locally built binaries to report incorrect version information.

$ cat VERSION
v0.6.2

$ git describe --tags
v0.6.4-5-g11ab228

$ go run main.go --version
crdoc version v0.6.2

Root Cause

The VERSION file was designed to be updated automatically by the GitHub Actions workflow (.github/workflows/tag.yml), but this process was not followed for releases v0.6.3 and v0.6.4.

What Happened

For v0.6.3 and v0.6.4, tags were created manually on existing commits

Impact

  • GitHub releases: May show correct metadata
  • Local builds (go build, go run, go install): Report v0.6.2 instead of v0.6.4
  • Repository state: Out of sync with release tags
  • Developer experience: Confusion about actual version

The issue affects anyone building the tool from source, as main.go embeds the VERSION file at build time:

//go:embed VERSION
var version string

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