https://blue-build.org/ logo
Access tag/version from script module
# questions
r
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:
Copy code
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)"
...
a
message has been deleted