Browse Source

Update release.yml

pull/1047/head
Rinne GitHub 2 years ago
parent
commit
5c0c7d9309
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .github/workflows/release.yml

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

@@ -75,7 +75,7 @@ jobs:
git fetch origin;
$LastTag = git describe --tags;
echo "Last tag is: $LastTag";
$Version = "preview.v"($LastTag).TrimStart('v');
$Version = "preview-v" + ($LastTag).TrimStart('v');
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