From 9c0233027000d3cfeb2c8324701921b76560946a Mon Sep 17 00:00:00 2001 From: Yaohui Liu Date: Sat, 6 May 2023 20:44:10 +0800 Subject: [PATCH] ci: update release ci. --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c8801e7d..2046173c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,8 @@ jobs: $LastTag = git describe --tags; $DroppedTag = ($LastTag).TrimStart('v'); echo "Last tag is: $DroppedTag"; - $Version = $(echo $string | cut -d'-' -f1) + "-preview"; + $Suffix = "-preview" + $Version = $(echo $string | cut -d'-' -f1)$Suffix; 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;