We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a446add commit 53a58d5Copy full SHA for 53a58d5
.github/workflows/release.yml
@@ -37,9 +37,9 @@ jobs:
37
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*";
38
git fetch origin;
39
$LastTag = git describe --tags;
40
- dropped_tag = ($LastTag).TrimStart('v');
41
- echo "Last tag is: $dropped_tag";
42
- $Version = ${dropped_tag%%-*} + "-preview";
+ $DroppedTag = ($LastTag).TrimStart('v');
+ echo "Last tag is: $DroppedTag";
+ $Version = $(echo $string | cut -d'-' -f1) + "-preview";
43
echo "Publishing version: $Version";
44
dotnet pack ./src/TensorFlowNET.Core/Tensorflow.Binding.csproj -c Release -o packages /p:PackageVersion=$Version /p:Version=$Version;
45
dotnet pack ./src/TensorFlowNET.Keras/Tensorflow.Keras.csproj -c Release -o packages /p:PackageVersion=$Version /p:Version=$Version;
0 commit comments