Skip to content

Commit 47151ba

Browse files
author
Asher Zhang
committed
github: update flow, remvoe git tags error again.
1 parent ed07959 commit 47151ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release_packages_all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
source /miniconda/etc/profile.d/conda.sh
139139
fi
140140
141-
git fetch --tags
141+
git fetch --tags -f
142142
TAG_NAME=$(git describe --tags $(git rev-list --tags --max-count=1))
143143
VERSION_NUMBER=$(echo "$TAG_NAME" | sed 's/^v//')
144144

.github/workflows/release_packages_cuda_only.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
fi
111111
112112
git config --global --add safe.directory '*'
113-
git fetch --tags
113+
git fetch --tags -f
114114
TAG_NAME=$(git describe --tags $(git rev-list --tags --max-count=1))
115115
VERSION_NUMBER=$(echo "$TAG_NAME" | sed 's/^v//')
116116

0 commit comments

Comments
 (0)