10000 Merge pull request #1058 from AsakusaRinne/master · SciSharp/TensorFlow.NET@4e34260 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e34260

Browse files
authored
Merge pull request #1058 from AsakusaRinne/master
ci: update release ci.
2 parents 06e85a8 + a446add commit 4e34260

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ jobs:
3737
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*";
3838
git fetch origin;
3939
$LastTag = git describe --tags;
40-
$LastTag = ($LastTag).TrimStart('v');
41-
echo "Last tag is: $LastTag";
42-
$Version = ${LastTag%%-*} + "-preview";
40+
dropped_tag = ($LastTag).TrimStart('v');
41+
echo "Last tag is: $dropped_tag";
42+
$Version = ${dropped_tag%%-*} + "-preview";
4343
echo "Publishing version: $Version";
4444
dotnet pack ./src/TensorFlowNET.Core/Tensorflow.Binding.csproj -c Release -o packages /p:PackageVersion=$Version /p:Version=$Version;
4545
dotnet pack ./src/TensorFlowNET.Keras/Tensorflow.Keras.csproj -c Release -o packages /p:PackageVersion=$Version /p:Version=$Version;

0 commit comments

Comments
 (0)
0