Clone instead of curl
Some checks failed
ci/woodpecker/push/lint unknown status
ci/woodpecker/push/release unknown status
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/image unknown status
ci/woodpecker/push/builder Pipeline failed
ci/woodpecker/push/publish unknown status

This commit is contained in:
Jef Roosens 2022-01-27 20:18:41 +01:00
parent 1ebba52161
commit d6575882cf
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F

View file

@ -71,7 +71,8 @@ vet:
.PHONY: v
v: v-$(V_RELEASE)/v
v-$(V_RELEASE)/v:
curl -Lo - 'https://github.com/vlang/v/archive/refs/tags/$(V_RELEASE).tar.gz' | tar xzf -
git clone --depth 1 --single-branch --branch '$(V_RELEASE)' https://github.com/vlang/v 'v-$(V_RELEASE)'
# curl -Lo - 'https://github.com/vlang/v/archive/refs/tags/$(V_RELEASE).tar.gz' | tar xzf -
cd patches && sh patch.sh '../v-$(V_RELEASE)'
cd 'v-$(V_RELEASE)' && make