Skip to content

Commit 76fbcdd

Browse files
committed
Pull git data with --tags
Signed-off-by: Chen Su <ghosind@gmail.com>
1 parent 743d199 commit 76fbcdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1974,7 +1974,7 @@ export DVM_VERSION="v0.10.0"
19741974
fi
19751975

19761976
# reset changes if exists
1977-
if git reset --hard HEAD && git fetch --all && git pull origin master --tag && git checkout "$DVM_LATEST_VERSION"
1977+
if git reset --hard HEAD && git fetch --all && git pull origin master --tags && git checkout "$DVM_LATEST_VERSION"
19781978
then
19791979
dvm_print "DVM has upgrade to latest version, please restart your terminal or run \`source $DVM_PROFILE_FILE\` to apply changes."
19801980

0 commit comments

Comments
 (0)