Mercurial > dive4elements > river
diff contrib/make_flys_release/make_release.sh @ 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 | f3aa7a12c86a |
children | b1b48fa7bd80 |
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" \