Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release links include .gz extension but files are not GZipped #42

Closed
rafaelmagu opened this issue Feb 6, 2019 · 1 comment
Closed

Comments

@rafaelmagu
Copy link
Contributor

Links to the binaries in the 3.0.0 release include .gz extensions, when in fact the links are just TAR files.

Expected Behavior

$ curl -sL https://github.com/pusher/oauth2_proxy/releases/download/v3.0.0/oauth2_proxy-v3.0.0-0-g7887272.linux-amd64.go1.11.tar.gz | tar zxvf -
release/oauth2_proxy-linux-amd64

Current Behavior

$ curl -sL https://github.com/pusher/oauth2_proxy/releases/download/v3.0.0/oauth2_proxy-v3.0.0-0-g7887272.linux-amd64.go1.11.tar.gz | tar zxvf -

gzip: stdin: not in gzip format
tar: Child died with signal 13
tar: Error is not recoverable: exiting now

Possible Solution

Remove .gz from the links, or GZip the TAR files.

Steps to Reproduce (for bugs)

  1. Download one of the binaries.
  2. Attempt to gunzip it.

Context

$ file oauth2_proxy-v3.0.0-0-g7887272.linux-amd64.go1.11.tar.gz
oauth2_proxy-v3.0.0-0-g7887272.linux-amd64.go1.11.tar.gz: POSIX tar archive

Your Environment

Ubuntu Linux 18.04.

@JoelSpeed
Copy link
Member

Apologies, they were meant to be zipped. The problem will be in the Makefile release target, I'll double check it and fix. Thanks for bring this to our attention!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants