Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: showcase update goal fix #2002

Merged
merged 1 commit into from Sep 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions showcase/scripts/generate_components.sh
Expand Up @@ -24,17 +24,17 @@ if [ "${replace}" == "true" ]; then
# replace contents of gapic library
gapic_component_dir="${showcase_folder}/gapic-showcase/src/main"
rm -rdf "${gapic_component_dir}/*"
cp -r "${SCRIPT_DIR}/showcase-output/gapic-showcase-output/src/main"/* "${gapic_component_dir}/"
cp -r "${SCRIPT_DIR}/output/showcase-output/gapic-showcase-output/src/main"/* "${gapic_component_dir}/"

# replace contents of proto library
proto_component_dir="${showcase_folder}/proto-gapic-showcase-v1beta1/src/main"
rm -rdf "${proto_component_dir}/*"
cp -r "${SCRIPT_DIR}/showcase-output/proto-showcase-output/src/main"/* "${proto_component_dir}/"
cp -r "${SCRIPT_DIR}/output/showcase-output/proto-showcase-output/src/main"/* "${proto_component_dir}/"

# replace contents of grpc library
grpc_component_dir="${showcase_folder}/grpc-gapic-showcase-v1beta1/src/main"
rm -rdf "${grpc_component_dir}/*"
cp -r "${SCRIPT_DIR}/showcase-output/grpc-showcase-output/src/main"/* "${grpc_component_dir}/"
cp -r "${SCRIPT_DIR}/output/showcase-output/grpc-showcase-output/src/main"/* "${grpc_component_dir}/"
fi

if [ "${perform_cleanup}" == 'true' ];then
Expand Down