# HG changeset patch # User Tom Gottfried # Date 1651161741 -7200 # Node ID ca1319d5816d91624d8889ecaff10c98eb252ba0 # Parent a99f07471004e77160c4ec63666c4bdd3244559a Amend release script to include custom client resources diff -r a99f07471004 -r ca1319d5816d contrib/make_flys_release/make_release.sh --- a/contrib/make_flys_release/make_release.sh Thu Apr 28 17:30:21 2022 +0200 +++ b/contrib/make_flys_release/make_release.sh Thu Apr 28 18:02:21 2022 +0200 @@ -236,6 +236,15 @@ done fi +if [ -d "$CLIENT_RESOURCES" ]; then + echo "INFO: copy custom client resources to target destination" + CLIENT_RESOURCES_DIR=$FLYS_SOURCE_DIR/river/gwt-client/src/main/resources/ + cp -R $CLIENT_RESOURCES/* $CLIENT_RESOURCES_DIR + for file in `find $CLIENT_RESOURCES_DIR/ -type f`; do + sed -i -e "s@D4E_VERSION@${VERSION}@g" $file + done +fi + if [ -f "$CLIENT_CONF" ]; then echo "INFO: copy custom java script client configuration to target destination" cp "$CLIENT_CONF" \