Compare commits

...

2 Commits

Author SHA1 Message Date
David Bomba
d9a40ebb43 Merge pull request #537 from turbo124/master
Updates for react build
2023-09-21 07:30:17 +10:00
David Bomba
db5d0ebf50 Updates for react build 2023-09-21 07:29:42 +10:00

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