Skip to content

Commit 24ba0e7

Browse files
authored
Merge pull request #8404 from jackfrancis/ca-update-deps-improvements
CI: make update-deps.sh macOS compatible
2 parents d6c98bc + 6e1da17 commit 24ba0e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster-autoscaler/hack/update-deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ cluster_autoscaler:update_deps() {
9898
if [ "${pkg}" = "./cluster-autoscaler" ]; then
9999
go get "k8s.io/kubernetes@v${k8s_version}"
100100
go mod tidy
101-
"${SED}" -i "s|\(const ClusterAutoscalerVersion = \)\".*\"|\1\"${k8s_version}\"|" "version/version.go"
101+
"${SED}" -i '' "s|\(const ClusterAutoscalerVersion = \)\".*\"|\1\"${k8s_version}\"|" "version/version.go"
102102
fi
103103

104104
git rm -r --force --ignore-unmatch kubernetes

0 commit comments

Comments
 (0)