Skip to content

Commit

Permalink
Fixed more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrohanea committed Oct 13, 2024
1 parent 719133f commit 4961f31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pack-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
$xml = [Xml] (Get-Content .\Whisper.net\Whisper.net.csproj)
$versionObject = $xml.Project.PropertyGroup.Version
$version = "$versionObject".Trim()
$previewSuffix = if (${{ inputs.IsPreview }} -eq 'true') { '-${{ inputs.PreviewSuffix }}' } else { '' }
$previewSuffix = if ('${{ inputs.IsPreview }}' -eq 'true') { '-${{ inputs.PreviewSuffix }}' } else { '' }
$previewVersion = "$version$previewSuffix"
Import-Module ./windows-scripts.ps1
PackAll -Version $previewVersion
Expand Down
1 change: 1 addition & 0 deletions runtimes/Whisper.net.Runtime.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
</metadata>
<files>
<file src="Whisper.net.Runtime\**" target="build"/>
<file src="../readme.md" target="content/readme.md" />
</files>
</package>
2 changes: 1 addition & 1 deletion windows-scripts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,5 @@ function PackAll([Parameter(Mandatory = $true)] [string]$Version) {
nuget pack runtimes/Whisper.net.Runtime.Vulkan.nuspec -Version $Version -OutputDirectory ./nupkgs
nuget pack runtimes/Whisper.net.Runtime.OpenVino.nuspec -Version $Version -OutputDirectory ./nupkgs
nuget pack runtimes/Whisper.net.Runtime.NoAvx.nuspec -Version $Version -OutputDirectory ./nupkgs
nuget pack runtimes/Whisper.net.AllRutimes.nuspec -Version $Version -OutputDirectory ./nupkgs
nuget pack runtimes/Whisper.net.AllRuntimes.nuspec -Version $Version -OutputDirectory ./nupkgs
}

0 comments on commit 4961f31

Please sign in to comment.