mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-07-09 03:04:19 -04:00
Merge pull request #531 from Kareadita/bugfix/settings-copy-fix
Added command to properly copy over appsettings.json to the final build directory
This commit is contained in:
commit
f40a5e9bb4
4
build.sh
4
build.sh
@ -97,7 +97,6 @@ Package()
|
|||||||
cp ../LICENSE "$lOutputFolder"/LICENSE.txt
|
cp ../LICENSE "$lOutputFolder"/LICENSE.txt
|
||||||
|
|
||||||
echo "Renaming API -> Kavita"
|
echo "Renaming API -> Kavita"
|
||||||
|
|
||||||
if [ $runtime == "win-x64" ] || [ $runtime == "win-x86" ]
|
if [ $runtime == "win-x64" ] || [ $runtime == "win-x86" ]
|
||||||
then
|
then
|
||||||
mv "$lOutputFolder"/API.exe "$lOutputFolder"/Kavita.exe
|
mv "$lOutputFolder"/API.exe "$lOutputFolder"/Kavita.exe
|
||||||
@ -105,6 +104,9 @@ Package()
|
|||||||
mv "$lOutputFolder"/API "$lOutputFolder"/Kavita
|
mv "$lOutputFolder"/API "$lOutputFolder"/Kavita
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Copying appsettings.json"
|
||||||
|
cp appsettings.Development.json $lOutputFolder/appsettings.json
|
||||||
|
|
||||||
echo "Creating tar"
|
echo "Creating tar"
|
||||||
cd ../$outputFolder/"$runtime"/
|
cd ../$outputFolder/"$runtime"/
|
||||||
tar -czvf ../kavita-$runtime.tar.gz Kavita
|
tar -czvf ../kavita-$runtime.tar.gz Kavita
|
||||||
|
@ -56,6 +56,9 @@ Package()
|
|||||||
|
|
||||||
echo "Show API structure"
|
echo "Show API structure"
|
||||||
find
|
find
|
||||||
|
|
||||||
|
echo "Copying appsettings.json"
|
||||||
|
cp appsettings.Development.json $lOutputFolder/appsettings.json
|
||||||
|
|
||||||
echo "Creating tar"
|
echo "Creating tar"
|
||||||
cd ../$outputFolder/"$runtime"/
|
cd ../$outputFolder/"$runtime"/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user