Browse Source

Merge pull request #1058 from AsakusaRinne/master

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

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

@@ -37,9 +37,9 @@ jobs:
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*";
git fetch origin;
$LastTag = git describe --tags;
$LastTag = ($LastTag).TrimStart('v');
echo "Last tag is: $LastTag";
$Version = ${LastTag%%-*} + "-preview";
dropped_tag = ($LastTag).TrimStart('v');
echo "Last tag is: $dropped_tag";
$Version = ${dropped_tag%%-*} + "-preview";
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