File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3737 git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*";
3838 git fetch origin;
3939 $LastTag = git describe --tags;
40- dropped_tag = ($LastTag).TrimStart('v');
41- echo "Last tag is: $dropped_tag ";
42- $Version = ${dropped_tag%%-*} + "-preview";
40+ $DroppedTag = ($LastTag).TrimStart('v');
41+ echo "Last tag is: $DroppedTag ";
42+ $Version = $(echo $string | cut -d'-' -f1) + "-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;
You can’t perform that action at this time.
0 commit comments