Skip to content

Commit 1f9c262

Browse files
fixed comma isssue in docker version
1 parent 201b466 commit 1f9c262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

get_software_versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
extract_docker_version() {
55
local file="docker-version.txt"
66
if [[ -f "$file" ]]; then
7-
local DOCKER_VERSION=$(grep -i 'docker version' "$file" | awk '{print $3}')
7+
local DOCKER_VERSION=$(grep -i 'docker version' "$file" | awk '{print $3}' | tr -d ',')
88
echo "DOCKER_VERSION=$DOCKER_VERSION" >> "$GITHUB_ENV"
99
echo "Set DOCKER_VERSION=$DOCKER_VERSION in GitHub environment"
1010
else

0 commit comments

Comments
 (0)