We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5afc3a6 commit 551981bCopy full SHA for 551981b
Provider/build.ps1
@@ -25,11 +25,15 @@ function Clean() {
25
}
26
27
function Build() {
28
- function b($target) {
+ function b($target, $check=$True) {
29
dotnet msbuild /t:$target /p:Configuration=$Configuration "$baseDir\src\NETProvider.sln" /v:m /m
30
- Check-ExitCode
+ if ($check) {
31
+ Check-ExitCode
32
+ }
33
34
b 'Clean'
35
+ # this sometimes fails on CI
36
+ b 'Restore' $False
37
b 'Restore'
38
b 'Build'
39
$script:version = (Get-Item $baseDir\src\FirebirdSql.Data.FirebirdClient\bin\$Configuration\net452\FirebirdSql.Data.FirebirdClient.dll).VersionInfo.ProductVersion -replace '(\d+)\.(\d+)\.(\d+)(-[a-z0-9]+)?(.*)','$1.$2.$3$4'
0 commit comments