Browse Source

ci: fix error.

tags/v0.6.0
Yaohui Liu 2 years ago
parent
commit
cc0f57779d
No known key found for this signature in database GPG Key ID: E86D01E1809BD23E
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      .github/workflows/release.yml

+ 2
- 2
.github/workflows/release.yml View File

@@ -42,8 +42,8 @@ jobs:
git fetch --unshallow;
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*";
git fetch origin;
$LastTag = git describe --tags;
$DroppedTag = ($LastTag).TrimStart('v');
LastTag=$(git describe --tags);
DroppedTag=$(echo "$LastTag" | sed 's/^v//');
echo "Last tag is: $DroppedTag";
is_minor=contains(github.event.pull_request.labels.*.name, 'minor-release')


Loading…
Cancel
Save