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

How to download Source code (tar.gz) asset of release #58

Open
atomlab opened this issue Feb 4, 2020 · 3 comments
Open

How to download Source code (tar.gz) asset of release #58

atomlab opened this issue Feb 4, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@atomlab
Copy link

atomlab commented Feb 4, 2020

Sorry, I not understand how to download release source code (tar.gz)?

# fetch --repo="https://github.com/hashicorp/go-version" --tag="v1.2.0"  --release-asset="v1.2.0.tar.gz" /tmp
ERROR: Could not find assets matching v1.2.0.tar.gz in release v1.2.0

Screenshot 2020-02-04 at 20 09 38

@yorinasub17 yorinasub17 added enhancement New feature or request help wanted labels Feb 4, 2020
@yorinasub17
Copy link
Contributor

This is not currently supported, but probably good to add. We don't have a use case internally for this so we are unlikely to add this ourselves, but would welcome a PR from the community!

@bhundven
Copy link

bhundven commented Nov 1, 2023

Use case: The .zip does not retain file modes. While .tar.gz does.
If you're getting a "release" that is just a bunch of scripts, it won't work without going through and chmod'ing a bunch of stuff to have executable scripts.

@jolespin
Copy link

I uploaded the wrong file to a release and now it won't let me change the source code zip and .tar.gz.

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

No branches or pull requests

5 participants