From 13a796403d674cc4456ada09a7a43f4cd05356b8 Mon Sep 17 00:00:00 2001 From: AsakusaRinne Date: Mon, 1 May 2023 01:01:51 +0800 Subject: [PATCH] ci: revise auto-release ci file. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9c6fa29..9cab4f95 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,7 +75,7 @@ jobs: git fetch origin; $LastTag = git describe --tags; echo "Last tag is: $LastTag"; - $Version = ($LastTag).TrimStart('v'); + $Version = "preview.v"($LastTag).TrimStart('v'); echo "Publishing version: $Version"; dotnet pack ./src/TensorFlowNET.Core/Tensorflow.Binding.csproj -c Release -o packages /p:PackageVersion=$Version /p:Version=$Version; dotnet pack ./src/TensorFlowNET.Keras/Tensorflow.Keras.csproj -c Release -o packages /p:PackageVersion=$Version /p:Version=$Version;