mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
modify argument for post_build.ps1
This commit is contained in:
parent
3d6782ca30
commit
f5762f6ad1
2 changed files with 6 additions and 4 deletions
|
|
@ -1,9 +1,11 @@
|
|||
param(
|
||||
[string]$config = "Release",
|
||||
[string]$solution = (Join-Path $PSScriptRoot ".." -Resolve),
|
||||
[string]$channel = "prerelease"
|
||||
[string]$channel = "win-x64-prerelease"
|
||||
)
|
||||
Write-Host "Config: $config"
|
||||
Write-Host "Solution: $solution"
|
||||
Write-Host "Channel: $channel"
|
||||
|
||||
function Build-Version
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ init:
|
|||
if ($env:APPVEYOR_REPO_BRANCH -eq "dev")
|
||||
{
|
||||
$env:prereleaseTag = "{0}.{1}.{2}.{3}" -f $version.Major, $version.Minor, $version.Build, $version.Revision
|
||||
$env:channel = "prerelease"
|
||||
$env:channel = "win-x64-prerelease"
|
||||
} else {
|
||||
$env:channel = "stable"
|
||||
$env:channel = "win-x64-stable"
|
||||
}
|
||||
- sc config WSearch start= auto # Starts Windows Search service- Needed for running ExplorerTest
|
||||
- net start WSearch
|
||||
|
|
@ -36,7 +36,7 @@ build:
|
|||
test_script:
|
||||
- dotnet test --no-build -c Release
|
||||
after_test:
|
||||
- ps: .\Scripts\post_build.ps1
|
||||
- ps: .\Scripts\post_build.ps1 -channel $env:channel
|
||||
|
||||
artifacts:
|
||||
- path: 'Output\Release\Flow.Launcher.Plugin.*.nupkg'
|
||||
|
|
|
|||
Loading…
Reference in a new issue