Browse Source

Merge pull request #1061 from AsakusaRinne/master

ci: update release ci.
tags/v0.100.5
Rinne GitHub 2 years ago
parent
commit
8ff980f511
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

@@ -40,7 +40,8 @@ jobs:
$DroppedTag = ($LastTag).TrimStart('v');
echo "Last tag is: $DroppedTag";
$Suffix = "-preview"
$Version = $(echo $string | cut -d'-' -f1)$Suffix;
$Prefix = $(echo $string | cut -d'-' -f1)
$Version = "${Prefix}${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