fix assembly version

This commit is contained in:
Hongtao Zhang 2024-03-26 17:57:03 -05:00
parent 067f69b494
commit 286f49c3a3
2 changed files with 7 additions and 4 deletions

View file

@ -25,10 +25,13 @@ jobs:
sc config WSearch start= auto # Starts Windows Search service- Needed for running ExplorerTest
net start WSearch
- uses: actions/checkout@v4
- name: Set version in all AssemblyInfo.cs files
uses: secondbounce/assemblyinfo-update@v2
- name: Set MyProject.csproj version
id: update
uses: vers-one/dotnet-project-version-updater@v1.5
with:
version: '1.17.2'
file: |
"Flow.Launcher/**/*.csproj", "Flow.Launcher/**/*.nuspec", "Flow.Launcher/**/AssemblyInfo.cs"
version: "1.17.2"
- uses: actions/cache@v4
name: Restore Nuget Cache
with:

View file

@ -80,7 +80,7 @@ function Delete-Unused($path, $config)
foreach ($i in $deleteList)
{
Write-Host "Deleting duplicated $i.Name with version $i.VersionInfo.FileVersion at location $i.Directory.FullName"
write Deleting duplicated $i.Name with version $i.VersionInfo.FileVersion at location $i.Directory.FullName
Remove-Item $i
}
Remove-Item -Path $target -Include "*.xml" -Recurse