File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ The first version of FeatBit Agent.
4
4
5
5
# v1.0.1 ( 2023-07-21 )
6
6
7
- Remove featbit.ini config
7
+ Replace featbit.ini with appsettings.json.
Original file line number Diff line number Diff line change
1
+ {
2
+ "Logging" : {
3
+ "LogLevel" : {
4
+ "Default" : " Information" ,
5
+ "Microsoft.AspNetCore" : " Warning" ,
6
+ "Microsoft.EntityFrameworkCore" : " Warning"
7
+ }
8
+ },
9
+ "AllowedHosts" : " *"
10
+ }
Original file line number Diff line number Diff line change 1
- $publishBaseDir = ' publish'
1
+ $publishBaseDir = ' ../../ publish'
2
2
$platforms = @ (' win-x64' , ' linux-x64' , ' osx-x64' )
3
3
4
4
if (-not (Test-Path - Path $publishBaseDir - PathType Container))
@@ -13,10 +13,9 @@ foreach ($platform in $platforms)
13
13
dotnet publish - r $platform - c Release - p:DebugType= none -- self- contained true - o " $publishBaseDir /$platform "
14
14
if ($LASTEXITCODE -ne 0 )
15
15
{
16
+ Write-Error " Failed to publish the application for platform $platform "
16
17
exit 1
17
18
}
18
19
19
- Set-Location " $publishBaseDir /$platform "
20
- Compress-Archive - Path * - DestinationPath " ../featbit_agent_${platform} _${version} .zip"
21
- Set-Location ../ ../
20
+ Compress-Archive - Path " $publishBaseDir /$platform /*" - DestinationPath " $publishBaseDir /featbit_agent_${platform} _${version} .zip"
22
21
}
You can’t perform that action at this time.
0 commit comments