add dotglob for .git

This commit is contained in:
Boshi Lian 2019-01-12 09:53:22 +00:00
parent 9f3010c704
commit 5ab4b543e6

View file

@ -12,7 +12,7 @@ steps:
mkdir -p '$(GOBIN)'
mkdir -p '$(GOPATH)/pkg'
mkdir -p '$(modulePath)'
shopt -s extglob
shopt -s extglob dotglob
mv !(gopath) '$(modulePath)'
echo '##vso[task.prependpath]$(GOBIN)'
echo '##vso[task.prependpath]$(GOROOT)/bin'