mirror of
https://gitee.com/rancher/rancher.git
synced 2025-12-06 15:59:37 +08:00
[v2.11] Remove yq build dependency (#51043)
Backport of #51019 and #51046
This commit is contained in:
committed by
GitHub
parent
ea59287e1a
commit
811be0b3c4
@@ -29,8 +29,7 @@ webhookVersion: 2.0.6+up0.3.6-rc1
|
||||
Then update the [export-config](../scripts/export-config) script.
|
||||
|
||||
```
|
||||
CATTLE_RANCHER_WEBHOOK_VERSION=$(yq -e '.webhookVersion' "$file")
|
||||
export CATTLE_RANCHER_WEBHOOK_VERSION
|
||||
export CATTLE_RANCHER_WEBHOOK_VERSION=$(grep -m1 'webhookVersion' < "$file" | cut -d ' ' -f2)
|
||||
```
|
||||
|
||||
Run `go generate` from the root of the repo.
|
||||
|
||||
Reference in New Issue
Block a user