Skip to content

Commit 9c02330

Browse files
committed
ci: update release ci.
1 parent 53a58d5 commit 9c02330

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
$LastTag = git describe --tags;
4040
$DroppedTag = ($LastTag).TrimStart('v');
4141
echo "Last tag is: $DroppedTag";
42-
$Version = $(echo $string | cut -d'-' -f1) + "-preview";
42+
$Suffix = "-preview"
43+
$Version = $(echo $string | cut -d'-' -f1)$Suffix;
4344
echo "Publishing version: $Version";
4445
dotnet pack ./src/TensorFlowNET.Core/Tensorflow.Binding.csproj -c Release -o packages /p:PackageVersion=$Version /p:Version=$Version;
4546
dotnet pack ./src/TensorFlowNET.Keras/Tensorflow.Keras.csproj -c Release -o packages /p:PackageVersion=$Version /p:Version=$Version;

0 commit comments

Comments
 (0)