Skip to content

Commit

Permalink
Update Release
Browse files Browse the repository at this point in the history
  • Loading branch information
SeriaWei committed Mar 31, 2020
1 parent 0047ab4 commit ec2587d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Release.ps1
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ Write-Host "Copy files..."
New-Item -Path "." -Name "Release" -ItemType "directory" -Force
Move-Item -Path "src/ZKEACMS.WebHost/bin/Release/PublishOutput" -Destination "Release/Application"
New-Item -Path "Release/Application" -Name "App_Data" -ItemType "directory"
Copy-Item -Path "DataBase/SQLite/Database.sqlite" -Destination "Release/Application/App_Data/Database.sqlite" -Force
Invoke-Expression("sqlite-exec -d Release/Application/App_Data/Database.sqlite -f DataBase/SQLite/ZKEACMS.sqlite.sql")
Copy-Item -Path "DataBase/SQLite/appsettings.json" -Destination "Release/Application/appsettings.json" -Force
$dbSource = 'DataBase'
$dbDestination = 'Release/Database'

0 comments on commit ec2587d

Please sign in to comment.