Skip to content

Some CI builds only have latest as the recorded version #1524

@wkz

Description

@wkz

Current Behavior

In my case did the following:

git reset --hard v26.05.0
./utils/gh-dl-artifact.sh
make run

In the VM, this is the version information:

admin@infix-00-00-00:/> show version
Infix OS — Immutable.Friendly.Secure latest -- May 30 05:03 UTC 2026

/etc/os-release does still make it possible to deduce the source revision via BUILD_ID:

NAME="Infix"
ID=infix
PRETTY_NAME="Infix OS — Immutable.Friendly.Secure latest"
ID_LIKE="buildroot"
DEFAULT_HOSTNAME=infix
VERSION="latest"
VERSION_ID=latest
BUILD_ID="v26.05.0"
...

But the VERSION_ID is still wrong, IMO.

Expected Behavior

VERSION_ID should always be a string that unambiguously identifies the source revision that the image was built from.

Steps To Reproduce

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriagePending investigation & classification (CCB)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions