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

Feature Request: Ability to rename andchmod resultant file #41

Open
osterman opened this issue Apr 19, 2018 · 1 comment
Open

Feature Request: Ability to rename andchmod resultant file #41

osterman opened this issue Apr 19, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@osterman
Copy link

what

  • I wish that we could specify the octal mode of the file download from the github release
  • I wish that we could specify the destination name

why

  • So that I can set the execution bit (E.g. 0755) without calling chmod explicitly
  • Extremely common usage pattern is to download binary releases of apps (e.g. fetch) and then run them

example interface

fetch --repo https://github.com/gruntwork-io/fetch \
      --tag=v0.2.0 \
      --release-asset=fetch_darwin_amd64 \
      --asset-name=fetch \
      --asset-file-mode=0755 \
        /usr/local/bin
@brikis98 brikis98 added enhancement New feature or request help wanted labels Apr 19, 2018
@brikis98
Copy link
Member

--asset-file-mode and --asset-file-destination both sound like a great idea for optional params. We'd welcome a PR to add those!

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

3 participants