Skip to content

Commit 72731e1

Browse files
authored
fix: fix GitHub Actions CI error (#6)
Signed-off-by: Tan <[email protected]>
1 parent 4ddca2b commit 72731e1

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,6 @@ jobs:
139139
- name: Pack packages
140140
run: |
141141
$LastTag = git describe --tags (git rev-list --tags --max-count=1);
142-
143-
if [ -z "$LastTag" ]; then
144-
echo "Last tag is not available. Setting to a fixed string."
145-
LastTag="v2.0.0"
146-
fi
147-
148142
echo "Last tag is: $LastTag";
149143
$Version = ($LastTag).TrimStart('v');
150144
echo "Publishing version: $Version";

Casbin.Watcher.Redis/casbin.png

8.28 KB
Loading

0 commit comments

Comments
 (0)