Skip to content

Commit 70d1c53

Browse files
committed
ci: update release ci.
1 parent 9c02330 commit 70d1c53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
$DroppedTag = ($LastTag).TrimStart('v');
4141
echo "Last tag is: $DroppedTag";
4242
$Suffix = "-preview"
43-
$Version = $(echo $string | cut -d'-' -f1)$Suffix;
43+
$Prefix = $(echo $string | cut -d'-' -f1)
44+
$Version = "${Prefix}${Suffix}";
4445
echo "Publishing version: $Version";
4546
dotnet pack ./src/TensorFlowNET.Core/Tensorflow.Binding.csproj -c Release -o packages /p:PackageVersion=$Version /p:Version=$Version;
4647
dotnet pack ./src/TensorFlowNET.Keras/Tensorflow.Keras.csproj -c Release -o packages /p:PackageVersion=$Version /p:Version=$Version;

0 commit comments

Comments
 (0)