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

Attempting to install v.1.2.1 from the "Install Porter" document fails #3299

Closed
dgannon991 opened this issue Dec 24, 2024 · 2 comments
Closed
Labels
bug Oops, sorry!

Comments

@dgannon991
Copy link
Member

Describe the bug

The install steps in the website's documentation fail.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://porter.sh/docs/getting-started/install-porter/
  2. Observe the install command is still
export VERSION="v1.1.0"
curl -L https://cdn.porter.sh/$VERSION/install-linux.sh | bash
  1. If you attempt to change this to VERSION="v.1.2.1" then the script errors with the response bash: line 1: Not: command not found`

Expected behavior

Porter should be installed a version 1.2.1

Version

N/A

@dgannon991 dgannon991 added the bug Oops, sorry! label Dec 24, 2024
@kichristensen
Copy link
Contributor

@dgannon991 It works for me without problems. I can see in the description that the version number is incorrect, it is v.1.2.1 instead of v1.2.1. Is that what you used or just a mistake in the bug report?

@dgannon991
Copy link
Member Author

More embarrassing than that actually, looking back at my command history it was a typo in the bug report, but the initial cause was me misunderstanding bash variable expansion.

Because I can do VARIABLE=value ./script-that-uses-varaible.sh I was under the impression I could change that command to a single liner of VERSION=v1.2.1 curl -L https://cdn.porter.sh/$VERSION/install-linux.sh | bash, but that is not valid!

So I've learnt something, and feel very silly at the same time.

Sorry guys!

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

No branches or pull requests

2 participants