kcl-lang / cli

The KCL Command Line Interface (CLI).
https://kcl-lang.io
Apache License 2.0
19 stars 13 forks source link

v0.9.3 is showing the version to v0.9.2 #111

Closed liangyuanpeng closed 2 months ago

liangyuanpeng commented 2 months ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

$ wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash
Getting the latest KCL ...
Your system is linux_amd64 

KCL is detected:
Error: failed to compile the kcl package
No input KCL files

Reinstalling KCL into /usr/local/bin/kcl ...

Find the latest KCL version v0.9.3 
Downloading https://github.com/kcl-lang/cli/releases/download/v0.9.3/kcl-v0.9.3-linux-amd64.tar.gz ... 
Scucessful to download https://github.com/kcl-lang/cli/releases/download/v0.9.3/kcl-v0.9.3-linux-amd64.tar.gz 
Copy the kcl temp folder /tmp/kcl-install-4Rh8l4 into the target installation directory /usr/local/bin 
Editing user profile (/home/runner/.bashrc) with the profile install dir /usr/local/bin 
The KCLVM PATH string is 
      export PATH="/usr/local/bin/bin:$PATH"
    Finished kcl installed into /usr/local/bin successfully.
Error: No input KCL files

Please add /usr/local/bin into your PATH
Remeber run the command source ~/.bash_profile or source ~/.bashrc to ensure your PATH is effective
Reopen a terminal and execute the kcl --help command to ensure successful installation

To get started with KCL, please visit https://kcl-lang.io/docs/user_docs/getting-started/kcl-quick-start
$ kcl version
0.9.2-linux-amd64

cc @Peefy

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your KCL components version? (Required)

Peefy commented 2 months ago

Sorry, I will fix it.

Peefy commented 2 months ago

Closed. Version fixed in v0.9.3 and v0.9.4