mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-23 13:34:23 +08:00
Fix docker.yaml double-quote version bug (#7452)
This commit is contained in:
parent
fe27db2f6e
commit
b99113f83a
2
.github/workflows/docker.yaml
vendored
2
.github/workflows/docker.yaml
vendored
@ -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…
x
Reference in New Issue
Block a user