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

Add the validate sub-command #72

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Conversation

iawia002
Copy link
Collaborator

$ ksbuilder validate test-1.0.0.tgz
validating extension test-1.0.0.tgz

no issues found
$ ksbuilder validate tower
validating extension tower

error executing command: invalid language code zh1, see https://www.loc.gov/standards/iso639-2/php/code_list.php for more details
exit status 1

close #71

@iawia002
Copy link
Collaborator Author

/cc @stoneshi-yunify Take a look and see if this is what you're looking for. Actually, validation is performed before every execution of publish/package. Anyway, I added this sub-command separately.

@stoneshi-yunify
Copy link
Member

thanks very much

@iawia002
Copy link
Collaborator Author

I'll release a new version later with another feature.

@iawia002 iawia002 merged commit 0142937 into kubesphere:master Dec 19, 2023
1 of 2 checks passed
@iawia002 iawia002 deleted the validate branch December 19, 2023 06:57
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.

cmd 支持 validate
2 participants