Skip to content

Commit a446add

Browse files
committed
ci: update release ci.
1 parent 646ae03 commit a446add

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)