Mercurial > dive4elements > river
changeset 9728:ca1319d5816d 3.2.x
Amend release script to include custom client resources
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 28 Apr 2022 18:02:21 +0200 |
parents | a99f07471004 |
children | 7e767c0c9a6d |
files | contrib/make_flys_release/make_release.sh |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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" \