Skip to content

docs: improve binary download command for linux setup#1068

Merged
jooola merged 2 commits into
mainfrom
docs-archive
Jun 2, 2025
Merged

docs: improve binary download command for linux setup#1068
jooola merged 2 commits into
mainfrom
docs-archive

Conversation

@jooola
Copy link
Copy Markdown
Member

@jooola jooola commented Jun 2, 2025

  • Make archive download silent
  • Do not extract docs or LICENSE
  • Do not preserve the owner of the file in the archive

jooola added 2 commits June 2, 2025 11:22
- Do not extract docs or LICENSE
- Do not preserve the owner of the file in the archive
@jooola jooola requested a review from a team as a code owner June 2, 2025 09:25
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.34%. Comparing base (44d716a) to head (541134a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1068   +/-   ##
=======================================
  Coverage   70.34%   70.34%           
=======================================
  Files         247      247           
  Lines       10873    10873           
=======================================
  Hits         7649     7649           
  Misses       2547     2547           
  Partials      677      677           
Flag Coverage Δ
e2e 50.66% <ø> (ø)
unit 63.28% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

curl -LO https://github.com/hetznercloud/cli/releases/download/v1.51.0/hcloud-linux-amd64.tar.gz
sudo tar -C /usr/local/bin -xzf hcloud-linux-amd64.tar.gz
curl -sSLO https://github.com/hetznercloud/cli/releases/download/v1.51.0/hcloud-linux-amd64.tar.gz
sudo tar -C /usr/local/bin --no-same-owner -xzf hcloud-linux-amd64.tar.gz hcloud
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also try to fix this on the goreleaser side using builds_info: https://goreleaser.com/customization/archive/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure which user & group ID we should choose there, as that highly depends on the users local setup.

@jooola jooola merged commit 5bd73fa into main Jun 2, 2025
6 checks passed
@jooola jooola deleted the docs-archive branch June 2, 2025 10:13
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

Successfully merging this pull request may close these issues.

2 participants