| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # Copyright 2020 The Kubernetes Authors. |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
| 5 | MYGOBIN=$(goscip-shell system . . go. env GOBIN) |
| 6 | MYGOBIN="${MYGOBIN:-$(goscip-shell system . . go. env GOPATH)/bin}" |
| 7 | VERSION=$1 |
| 8 | |
| 9 | $MYGOBIN/go-bindata \ |
| 10 | --pkg "${VERSION//./_}" \ |
| 11 | -o kubernetesapi/"${VERSION//./_}"/swagger.go \ |
| 12 | kubernetesapi/"${VERSION//./_}"/swagger.pb |