Browse Source

Merge pull request #1060 from AsakusaRinne/master

ci: update release ci.
tags/v0.100.5
Rinne GitHub 2 years ago
parent
commit
0b86a5b3cf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      .github/workflows/release.yml

+ 2
- 1
.github/workflows/release.yml View File

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


Loading…
Cancel
Save