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 37
37
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*";
38
38
git fetch origin;
39
39
$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";
43
43
echo "Publishing version: $Version";
44
44
dotnet pack ./src/TensorFlowNET.Core/Tensorflow.Binding.csproj -c Release -o packages /p:PackageVersion=$Version /p:Version=$Version;
45
45
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