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

impossible to create a main version with versions:create or version:update and --main=true in 8.6.5 #871

Closed
svrnwnsch opened this issue Aug 24, 2023 · 3 comments · Fixed by #872
Labels
bug Something isn't working command:versions Issues pertaining to the `versions` commands

Comments

@svrnwnsch
Copy link

Running the following command always throws an error:
rdme versions:create 2023-08-24 --isPublic=true --main=true --fork=1 --beta=false --deprecated=false

The error message states:
Unknown error (Version validation failed: is_stable: Your stable version cannot be hidden.).

Same problem appears when updating an existing version with:
rdme versions:update 2023-08-24 --main=true --newVersion=2023-08-24 --beta=false --isPublic=true

How can I mark a new version as the main version?

@svrnwnsch
Copy link
Author

This bug seems to be introduced with the latest version 8.6.5 in 8.6.4 this problem does not appear.

@svrnwnsch svrnwnsch changed the title impossible to create a main version with versions:create or version:update and --main=true impossible to create a main version with versions:create or version:update and --main=true in 8.6.5 Aug 24, 2023
@kanadgupta kanadgupta added bug Something isn't working command:versions Issues pertaining to the `versions` commands labels Aug 24, 2023
@kanadgupta
Copy link
Member

kanadgupta commented Aug 24, 2023

Thanks for reporting @svrnwnsch! I have a fix up in #872, should have this released in the next day or two.

@kanadgupta
Copy link
Member

kanadgupta commented Aug 24, 2023

Hi @svrnwnsch, v8.6.6 is out now and fixes this. Thanks again for reporting!

https://github.com/readmeio/rdme/releases/tag/8.6.6
https://www.npmjs.com/package/rdme/v/8.6.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working command:versions Issues pertaining to the `versions` commands
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants