From 5f0ed6a35495bcfc90de17e9670c754dc52f695d Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Fri, 13 Dec 2024 14:12:25 -0600 Subject: [PATCH] added cleanup step at beginning of build to match client example --- local/build/build-resume.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/local/build/build-resume.sh b/local/build/build-resume.sh index 7993040..5696127 100644 --- a/local/build/build-resume.sh +++ b/local/build/build-resume.sh @@ -35,6 +35,15 @@ export ClientSubmissionMarkdownOutputFile="$BUILD_OUTPUT_DIR/client-submit/Charl export ClientSubmissionPDFOutputFile="$BUILD_OUTPUT_DIR/client-submit/CharlesNWyble-Resume.pdf" export ClientSubmissionMSWordOutputFile="$BUILD_OUTPUT_DIR/client-submit/CharlesNWyble-Resume.doc" -# Call the build-pipeline-server in the vendored repository to produce output artifacts +# Cleanup previous output artifacts -bash ../../vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server-markdown.sh +rm $BUILD_TEMP_DIR/*.yml +rm $BUILD_TEMP_DIR/*.md + +rm $BUILD_OUTPUT_DIR/client-submit/* +rm $BUILD_OUTPUT_DIR/job-board/* +rm $BUILD_OUTPUT_DIR/recruiter/* + +# Call the build-pipeline-server in the vendored repository to produce updated output artifacts + +bash ../../vendor/git.knownelement.com/reachableceo/MarkdownResume-Pipeline/build/build-pipeline-server-markdown.sh \ No newline at end of file