Improve release build process for render wasm

This commit is contained in:
Andrey Antukh 2024-11-14 18:14:43 +01:00
parent 058c3707c8
commit aeda6271cd
4 changed files with 20 additions and 10 deletions

View file

@ -30,6 +30,7 @@ rsync -avr resources/public/ target/dist/
sed -i -re "s/\%version\%/$CURRENT_VERSION/g" ./target/dist/index.html;
sed -i -re "s/\%buildDate\%/$BUILD_DATE/g" ./target/dist/index.html;
sed -i "s/version=develop/version=$CURRENT_VERSION/g" ./target/dist/js/render_wasm.js;
if [ "$INCLUDE_STORYBOOK" = "yes" ]; then
# build storybook