Skip to content

Commit

Permalink
Merge pull request #881 from sssash18/gen-crd-fix
Browse files Browse the repository at this point in the history
Made the gen-crd-api-reference-docs binary platform independent
  • Loading branch information
aaronfern authored Dec 15, 2023
2 parents 63bea7a + 6fdeb90 commit e07ae25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file removed hack/api-reference/gen-crd-api-reference-docs
Binary file not shown.
3 changes: 2 additions & 1 deletion hack/api-reference/generate-spec-doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# limitations under the License.

cd ./hack/api-reference
./gen-crd-api-reference-docs -config "providerspec-config.json" -api-dir "../../pkg/apis/machine/v1alpha1" -out-file="../../docs/documents/apis.md"
GO111MODULE=on go install github.com/ahmetb/gen-crd-api-reference-docs@latest
"$GOBIN"/gen-crd-api-reference-docs -config "providerspec-config.json" -api-dir "../../pkg/apis/machine/v1alpha1" -out-file="../../docs/documents/apis.md"
sed 's/?id=//g' ../../docs/documents/apis.md > ../../docs/documents/apis-1.md
mv ../../docs/documents/apis-1.md ../../docs/documents/apis.md

0 comments on commit e07ae25

Please sign in to comment.