From 09029102ad83650edb6401b49663bbc2a0d93005 Mon Sep 17 00:00:00 2001
From: Sandro Hanea <40202887+sandrohanea@users.noreply.github.com>
Date: Fri, 27 Dec 2024 20:02:29 +0100
Subject: [PATCH] Bumping version 1.7.4 in examples (#312)
---
.github/workflows/pack-all.yml | 2 +-
Whisper.net/Whisper.net.csproj | 2 +-
examples/BlazorApp/BlazorApp.Client/BlazorApp.Client.csproj | 4 ++--
examples/ContinuousRecognition/ContinuousRecognition.csproj | 4 ++--
examples/CoreML/CoreML.csproj | 4 ++--
examples/Diarization/Diarization.csproj | 4 ++--
examples/MultiRuntime/MultiRuntime.csproj | 6 +++---
examples/NAudioMp3/NAudioMp3.csproj | 4 ++--
examples/NAudioResampleWav/NAudioResampleWav.csproj | 4 ++--
examples/NvidiaCuda/NvidiaCuda.csproj | 4 ++--
examples/OpenVinoExample/OpenVinoExample.csproj | 4 ++--
examples/ParallelExecution/ParallelExecution.csproj | 4 ++--
examples/Simple/Simple.csproj | 4 ++--
examples/SimpleSync/SimpleSync.csproj | 4 ++--
examples/Vulkan/Vulkan.csproj | 4 ++--
readme.md | 6 +++---
16 files changed, 32 insertions(+), 32 deletions(-)
diff --git a/.github/workflows/pack-all.yml b/.github/workflows/pack-all.yml
index a3c665c6..1fecf17f 100644
--- a/.github/workflows/pack-all.yml
+++ b/.github/workflows/pack-all.yml
@@ -53,7 +53,7 @@ jobs:
run: |
$xml = [Xml] (Get-Content .\Whisper.net\Whisper.net.csproj)
$versionObject = $xml.Project.PropertyGroup.Version
- $version = "$versionObject".Trim()
+ $version = "$versionObject".Split('-')[0].Trim()
$previewSuffix = if ('${{ inputs.IsPreview }}' -eq 'true') { '-${{ inputs.PreviewSuffix }}' } else { '' }
$previewVersion = "$version$previewSuffix"
Import-Module ./windows-scripts.ps1
diff --git a/Whisper.net/Whisper.net.csproj b/Whisper.net/Whisper.net.csproj
index 8e5be960..a072d87a 100755
--- a/Whisper.net/Whisper.net.csproj
+++ b/Whisper.net/Whisper.net.csproj
@@ -4,7 +4,7 @@
enable
enable
13
- 1.7.4
+ 1.7.5-preview1
Sandro Hanea
Cross-platform dotnet bindings for Whisper.
https://github.com/sandrohanea/whisper.net
diff --git a/examples/BlazorApp/BlazorApp.Client/BlazorApp.Client.csproj b/examples/BlazorApp/BlazorApp.Client/BlazorApp.Client.csproj
index c7b5a98b..4920d9a7 100644
--- a/examples/BlazorApp/BlazorApp.Client/BlazorApp.Client.csproj
+++ b/examples/BlazorApp/BlazorApp.Client/BlazorApp.Client.csproj
@@ -11,8 +11,8 @@
-
-
+
+
diff --git a/examples/ContinuousRecognition/ContinuousRecognition.csproj b/examples/ContinuousRecognition/ContinuousRecognition.csproj
index 939d511e..5bf88da1 100644
--- a/examples/ContinuousRecognition/ContinuousRecognition.csproj
+++ b/examples/ContinuousRecognition/ContinuousRecognition.csproj
@@ -9,8 +9,8 @@
-
-
+
+
diff --git a/examples/CoreML/CoreML.csproj b/examples/CoreML/CoreML.csproj
index 25858bb8..0827fc50 100644
--- a/examples/CoreML/CoreML.csproj
+++ b/examples/CoreML/CoreML.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/examples/Diarization/Diarization.csproj b/examples/Diarization/Diarization.csproj
index e5c2fcb9..2272335a 100644
--- a/examples/Diarization/Diarization.csproj
+++ b/examples/Diarization/Diarization.csproj
@@ -8,8 +8,8 @@
-
-
+
+
diff --git a/examples/MultiRuntime/MultiRuntime.csproj b/examples/MultiRuntime/MultiRuntime.csproj
index ba58f4b3..6b3f5f94 100644
--- a/examples/MultiRuntime/MultiRuntime.csproj
+++ b/examples/MultiRuntime/MultiRuntime.csproj
@@ -7,9 +7,9 @@
-
-
-
+
+
+
diff --git a/examples/NAudioMp3/NAudioMp3.csproj b/examples/NAudioMp3/NAudioMp3.csproj
index 3d1f5f86..be9b0734 100644
--- a/examples/NAudioMp3/NAudioMp3.csproj
+++ b/examples/NAudioMp3/NAudioMp3.csproj
@@ -9,8 +9,8 @@
-
-
+
+
diff --git a/examples/NAudioResampleWav/NAudioResampleWav.csproj b/examples/NAudioResampleWav/NAudioResampleWav.csproj
index 572283c8..bdbcf795 100644
--- a/examples/NAudioResampleWav/NAudioResampleWav.csproj
+++ b/examples/NAudioResampleWav/NAudioResampleWav.csproj
@@ -9,8 +9,8 @@
-
-
+
+
diff --git a/examples/NvidiaCuda/NvidiaCuda.csproj b/examples/NvidiaCuda/NvidiaCuda.csproj
index 3e6663b2..1ed37361 100644
--- a/examples/NvidiaCuda/NvidiaCuda.csproj
+++ b/examples/NvidiaCuda/NvidiaCuda.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/examples/OpenVinoExample/OpenVinoExample.csproj b/examples/OpenVinoExample/OpenVinoExample.csproj
index 6b87efa9..2c61b215 100644
--- a/examples/OpenVinoExample/OpenVinoExample.csproj
+++ b/examples/OpenVinoExample/OpenVinoExample.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/examples/ParallelExecution/ParallelExecution.csproj b/examples/ParallelExecution/ParallelExecution.csproj
index e38e8463..ca24559a 100644
--- a/examples/ParallelExecution/ParallelExecution.csproj
+++ b/examples/ParallelExecution/ParallelExecution.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/examples/Simple/Simple.csproj b/examples/Simple/Simple.csproj
index e38e8463..ca24559a 100644
--- a/examples/Simple/Simple.csproj
+++ b/examples/Simple/Simple.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/examples/SimpleSync/SimpleSync.csproj b/examples/SimpleSync/SimpleSync.csproj
index 0235606a..8370feac 100644
--- a/examples/SimpleSync/SimpleSync.csproj
+++ b/examples/SimpleSync/SimpleSync.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/examples/Vulkan/Vulkan.csproj b/examples/Vulkan/Vulkan.csproj
index c8ba78ba..ca63f185 100644
--- a/examples/Vulkan/Vulkan.csproj
+++ b/examples/Vulkan/Vulkan.csproj
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/readme.md b/readme.md
index 835e46ce..38eb3ae7 100644
--- a/readme.md
+++ b/readme.md
@@ -21,7 +21,7 @@ To install Whisper.net with all the available runtimes, run the following comman
Or add a package reference in your `.csproj` file:
```
-
+
```
`Whisper.net` is the main package that contains the core functionality but does not include any runtimes. `Whisper.net.AllRuntimes` includes all available runtimes for Whisper.net.
@@ -31,10 +31,10 @@ Or add a package reference in your `.csproj` file:
To install a specific runtime, you can install them individually and combine them as needed. For example, to install the CPU runtime, add the following package references:
```
-
+
```
```
-
+
```
## GPT for Whisper