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

feat: create bash install script #117

Merged
merged 1 commit into from
Mar 3, 2023
Merged

feat: create bash install script #117

merged 1 commit into from
Mar 3, 2023

Conversation

leodido
Copy link
Contributor

@leodido leodido commented Mar 3, 2023

Fixes #115
Supersedes #116

How to

# binary will be $(go env GOPATH)/bin/lstn
curl -sSfL https://raw.githubusercontent.com/listendev/lstn/main/install.sh | sh -s -- -b $(go env GOPATH)/bin 

# or install it into ./bin
curl -sSfL https://raw.githubusercontent.com/listendev/lstn/main/install.sh | sh -s 

# in Alpine Linux (as it does not come with curl by default)
wget -O- -nv https://raw.githubusercontent.com/listendev/lstn/main/install.sh | sh -s 

Notice: change main to feat/install-script until this is merged in.

What's missing?

Signature verification.

For future reference here's how to verify the signatures:

COSIGN_EXPERIMENTAL=1 cosign verify-blob \
  --certificate ~/Downloads/lstn_0.1.0_macos_amd64.pem \
  --signature ~/Downloads/lstn_0.1.0_macos_amd64.tar.gz.sig \
  ~/Downloads/lstn_0.1.0_macos_amd64.tar.gz
# tlog entry verified with uuid: c8ba1bff17bee82890986cf9c1c867f6989b1a5b7454f828f3d3713049e34ede index: 14006913
# Verified OK

See #118 for further details.

Signed-off-by: Leonardo Di Donato <[email protected]>
@leodido leodido requested a review from fntlnz as a code owner March 3, 2023 12:01
@reviewpad reviewpad bot added large Pull request is large enhancement New feature or request needs-review Marks a pull request as waiting for review labels Mar 3, 2023
@leodido leodido self-assigned this Mar 3, 2023
@leodido leodido mentioned this pull request Mar 3, 2023
4 tasks
@leodido leodido merged commit bbe081d into main Mar 3, 2023
@leodido leodido deleted the feat/install-script branch March 3, 2023 13:52
@github-actions github-actions bot locked and limited conversation to collaborators Mar 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request large Pull request is large needs-review Marks a pull request as waiting for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create installer shell script
1 participant