Skip to content

Commit 47811f7

Browse files
fix: showcase update goal fix (#2002)
Fixes issues when running `mvn compile -Pupdate` in showcase
1 parent 8fb0bf3 commit 47811f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

showcase/scripts/generate_components.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@ if [ "${replace}" == "true" ]; then
2424
# replace contents of gapic library
2525
gapic_component_dir="${showcase_folder}/gapic-showcase/src/main"
2626
rm -rdf "${gapic_component_dir}/*"
27-
cp -r "${SCRIPT_DIR}/showcase-output/gapic-showcase-output/src/main"/* "${gapic_component_dir}/"
27+
cp -r "${SCRIPT_DIR}/output/showcase-output/gapic-showcase-output/src/main"/* "${gapic_component_dir}/"
2828

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

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

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

0 commit comments

Comments
 (0)