Updates for react build

This commit is contained in:
David Bomba
2023-09-21 07:29:42 +10:00
parent 926b3d618b
commit db5d0ebf50

View File

@@ -0,0 +1,8 @@
for file in dist/react/* ; do
filename=$(basename -- "$file")
extension="${filename##*.}"
filename="${filename%.*}"
version=v$INVOICENINJA_VERSION
echo "Copying $file to /var/www/app/public/react/$filename"."$version"."$extension"
cp $file /var/www/app/public/react/$filename"."$version"."$extension
done