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

Update release instructions for Windows #60

Open
Irev-Dev opened this issue Jun 6, 2022 · 0 comments
Open

Update release instructions for Windows #60

Irev-Dev opened this issue Jun 6, 2022 · 0 comments

Comments

@Irev-Dev
Copy link
Contributor

Irev-Dev commented Jun 6, 2022

In the releases there are install instructions for various platforms, but the windows instructions are wrong as they use linux paths e.g.

windows/amd64

# Export the sha256sum for verification.
$ export KITTYCAD_CLI_SHA256="ee4a911b6814262b4e4d83c877654715a6442d401dbd2a104ebf31e82101e024"


# Download and check the sha256sum.
$ curl -fSL "https://dl.kittycad.io/releases/cli/v0.0.9/cli-windows-amd64" -o "/usr/local/bin/kittycad" \
	&& echo "${KITTYCAD_CLI_SHA256}  /usr/local/bin/kittycad" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/kittycad"


$ echo "kittycad cli installed!"

# Run it!
$ kittycad -h

Changes probably need to be made to cli/basic.mk

Looking at our cli install action might help as it works with a Windows runner, though it still uses bash, perhaps instructions should use powershell. Also adding the cli to %PATH% would be different outside of a github action runner.

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

No branches or pull requests

1 participant