Skip to content

Commit 8ff980f

Browse files
authored
Merge pull request #1061 from AsakusaRinne/master
ci: update release ci.
2 parents 0b86a5b + 70d1c53 commit 8ff980f

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)