-
Notifications
You must be signed in to change notification settings - Fork 1k
Dep 0.3.1 release packages lack file extensions #1189
Comments
Ugh. Hey @sdboyer, it looks like the filenames lack extensions because they're no longer zipped at all? I'm all for dropping ZIP for something like TAR.GZ as the latter can be streamed and the binary yanked out without need for a temp file or directory, but dropping the ZIP support altogether breaks certain expectations. Is this at least going to be the direction moving forward? I just don't really want to see this change again. |
ah yeah, sorry about that - correct, no longer zipped at all, on the expectation that that's one less tool/step on the receiving end, and I'd imagine that HTTP compression is probably happening anyway? in any case, yes, this will be the pattern going forward. |
original issue re: this was #957 |
Hi @sdboyer, Thank you for the update. I've already updated the Makefile target: ################################################################################
## DEP ##
################################################################################
DEP ?= ./dep
DEP_VER ?= 0.3.1
DEP_BIN := dep-$$GOHOSTOS-$$GOHOSTARCH
DEP_URL := https://github.com/golang/dep/releases/download/v$(DEP_VER)/$$DEP_BIN
$(DEP):
GOVERSION=$$(go version | awk '{print $$4}') && \
GOHOSTOS=$$(echo $$GOVERSION | awk -F/ '{print $$1}') && \
GOHOSTARCH=$$(echo $$GOVERSION | awk -F/ '{print $$2}') && \
DEP_BIN="$(DEP_BIN)" && \
DEP_URL="$(DEP_URL)" && \
curl -sSLO $$DEP_URL && \
chmod 0755 "$$DEP_BIN" && \
mv -f "$$DEP_BIN" "$@"
ifneq (./dep,$(DEP))
dep: $(DEP)
endif
vendor: | $(DEP)
$(DEP) ensure -v |
Please update release 0.3.1 with files that have file extensions. Otherwise automated builds that rely on the file names break :(
v0.3.1 Screenshot
v0.3.0 Screenshot
Makefile Target
Here's the Makefile target broken by the the extensionless filenames:
The text was updated successfully, but these errors were encountered: