Skip to content

Commit 66b33ca

Browse files
committed
add target ci-release-docs to makefile
1 parent 8bb6585 commit 66b33ca

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

GNUmakefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ TEST?=$(shell go list ./...)
99
build:
1010
@go build -o ${BINARY}
1111

12+
ci-release-docs:
13+
@go install github.com/hashicorp/packer-plugin-sdk/cmd/packer-sdc@latest
14+
@packer-sdc renderdocs -src docs -partials docs-partials/ -dst docs/
15+
@/bin/sh -c "[ -d docs ] && zip -r docs.zip docs/"
16+
1217
dev: build
1318
@mkdir -p ~/.packer.d/plugins/
1419
@mv ${BINARY} ~/.packer.d/plugins/${BINARY}

0 commit comments

Comments
 (0)