From f0f7d31e1b6b21c97e78f1dd8e34c6de52686f02 Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Mon, 10 Jun 2019 16:22:27 -0600 Subject: [PATCH] move issue-template-gen from docs/ to hack/ (#1558) Signed-off-by: Steve Kriss --- changelogs/unreleased/1558-skriss | 1 + {docs => hack}/issue-template-gen/main.go | 0 hack/update-generated-issue-template.sh | 4 ++-- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelogs/unreleased/1558-skriss rename {docs => hack}/issue-template-gen/main.go (100%) diff --git a/changelogs/unreleased/1558-skriss b/changelogs/unreleased/1558-skriss new file mode 100644 index 000000000..8d81d01b3 --- /dev/null +++ b/changelogs/unreleased/1558-skriss @@ -0,0 +1 @@ +move issue-template-gen from docs/ to hack/ diff --git a/docs/issue-template-gen/main.go b/hack/issue-template-gen/main.go similarity index 100% rename from docs/issue-template-gen/main.go rename to hack/issue-template-gen/main.go diff --git a/hack/update-generated-issue-template.sh b/hack/update-generated-issue-template.sh index 710dedf01..fe7a7bf56 100755 --- a/hack/update-generated-issue-template.sh +++ b/hack/update-generated-issue-template.sh @@ -1,6 +1,6 @@ #!/bin/bash -e # -# Copyright 2018 the Velero contributors. +# Copyright 2018, 2019 the Velero contributors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ BIN=${VELERO_ROOT}/_output/bin mkdir -p ${BIN} echo "Updating generated Github issue template" -go build -o ${BIN}/issue-tmpl-gen ./docs/issue-template-gen/main.go +go build -o ${BIN}/issue-tmpl-gen ./hack/issue-template-gen/main.go if [[ $# -gt 1 ]]; then echo "usage: ${BASH_SOURCE} [OUTPUT_FILE]"