Access tag/version from script module

Dears, In a container file, I run a command to set the /etc/os-release file. I can do this with the files or script module of blue-build. If I want to set the VERSION to the currently build tag of blue build, I guess I have to use the script module. Can you tell me how I can access in such scripts the version tag? This is how the file looks like for fedora kinoite:
NAME="Fedora Linux"
VERSION="42.20250429.1 (Kinoite)"
RELEASE_TYPE=stable
ID=fedora
VERSION_ID=42
VERSION_CODENAME=""
PLATFORM_ID="platform:f42"
PRETTY_NAME="Fedora Linux 42.20250429.1 (Kinoite)"
...
NAME="Fedora Linux"
VERSION="42.20250429.1 (Kinoite)"
RELEASE_TYPE=stable
ID=fedora
VERSION_ID=42
VERSION_CODENAME=""
PLATFORM_ID="platform:f42"
PRETTY_NAME="Fedora Linux 42.20250429.1 (Kinoite)"
...
Solution:
GitHub
blue95/files/scripts/00-image-info.sh at main · winblues/blue95
A desktop for your childhood home's computer room. Contribute to winblues/blue95 development by creating an account on GitHub.
Jump to solution
1 Reply
Solution
Robert
Robert3mo ago
GitHub
blue95/files/scripts/00-image-info.sh at main · winblues/blue95
A desktop for your childhood home's computer room. Contribute to winblues/blue95 development by creating an account on GitHub.

Did you find this page helpful?