Fix docker.yaml double-quote version bug (#7452)

pull/7460/head
Glenn Jocher 10 months ago committed by GitHub
parent fe27db2f6e
commit b99113f83a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/docker.yaml

@ -81,7 +81,7 @@ jobs:
- name: Retrieve Ultralytics version
id: get_version
run: |
VERSION=$(grep "^__version__ =" ultralytics/__init__.py | awk -F"'" '{print $2}')
VERSION=$(grep "^__version__ =" ultralytics/__init__.py | awk -F'"' '{print $2}')
echo "Retrieved Ultralytics version: $VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT

Loading…
Cancel
Save