comparison 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
comparison
equal deleted inserted replaced
9727:a99f07471004 9728:ca1319d5816d
234 for file in `find $WEBINF_DIR/ -type f`; do 234 for file in `find $WEBINF_DIR/ -type f`; do
235 sed -i -e "s@D4E_VERSION@${VERSION}@g" $file 235 sed -i -e "s@D4E_VERSION@${VERSION}@g" $file
236 done 236 done
237 fi 237 fi
238 238
239 if [ -d "$CLIENT_RESOURCES" ]; then
240 echo "INFO: copy custom client resources to target destination"
241 CLIENT_RESOURCES_DIR=$FLYS_SOURCE_DIR/river/gwt-client/src/main/resources/
242 cp -R $CLIENT_RESOURCES/* $CLIENT_RESOURCES_DIR
243 for file in `find $CLIENT_RESOURCES_DIR/ -type f`; do
244 sed -i -e "s@D4E_VERSION@${VERSION}@g" $file
245 done
246 fi
247
239 if [ -f "$CLIENT_CONF" ]; then 248 if [ -f "$CLIENT_CONF" ]; then
240 echo "INFO: copy custom java script client configuration to target destination" 249 echo "INFO: copy custom java script client configuration to target destination"
241 cp "$CLIENT_CONF" \ 250 cp "$CLIENT_CONF" \
242 $FLYS_SOURCE_DIR/river/gwt-client/src/main/java/org/dive4elements/river/client/client/config.xml 251 $FLYS_SOURCE_DIR/river/gwt-client/src/main/java/org/dive4elements/river/client/client/config.xml
243 fi 252 fi

http://dive4elements.wald.intevation.org