Merge pull request #537 from turbo124/master

Updates for react build
This commit is contained in:
David Bomba
2023-09-21 07:30:17 +10:00
committed by GitHub

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