Skip to content

Commit 0b86a5b

Browse files
authored
Merge pull request #1060 from AsakusaRinne/master
ci: update release ci.
2 parents 820bd2c + 9c02330 commit 0b86a5b

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
@@ -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)