Skip to content

Commit ed07959

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

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
@@ -61,7 +61,7 @@ jobs:
6161
fi
6262
source activate ds_py
6363
64-
git fetch --tags
64+
git fetch --tags -f
6565
TAG_NAME=$(git describe --tags $(git rev-list --tags --max-count=1))
6666
VERSION_NUMBER=$(echo "$TAG_NAME" | sed 's/^v//' | sed 's/-.*$//')
6767

.github/workflows/release_packages_cuda_only.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
source activate ds_py
5050
5151
git config --global --add safe.directory '*'
52-
git fetch --tags
52+
git fetch --tags -f
5353
TAG_NAME=$(git describe --tags $(git rev-list --tags --max-count=1))
5454
VERSION_NUMBER=$(echo "$TAG_NAME" | sed 's/^v//' | sed 's/-.*$//')
5555

0 commit comments

Comments
 (0)