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

Print specific component's version when using "cypress version" command #9214

Closed
bahmutov opened this issue Nov 16, 2020 · 2 comments · Fixed by #9248
Closed

Print specific component's version when using "cypress version" command #9214

bahmutov opened this issue Nov 16, 2020 · 2 comments · Fixed by #9248
Assignees
Labels
cli type: enhancement Requested enhancement of existing feature

Comments

@bahmutov
Copy link
Contributor

Building on top of #9180

Right now cypress version prints 4 versions

$ npx cypress version
Cypress package version: 6.0.0
Cypress binary version: 6.0.0
Electron version: 10.1.2
Bundled Node version: 12.16.3

To make checking versions in cypress-docker-images easier, it would be nice to be able to specify which version we want to print and print just that (even without newline)

Something like

$ npx cypress version --component package
6.0.0
$ npx cypress version --component binary
6.0.0
$ npx cypress version --component electron
10.1.2
$ npx cypress version --component node
12.16.3
@bahmutov bahmutov added the cli label Nov 16, 2020
@bahmutov bahmutov self-assigned this Nov 16, 2020
@jennifer-shehane jennifer-shehane added the type: enhancement Requested enhancement of existing feature label Nov 17, 2020
@cypress-bot cypress-bot bot added the stage: proposal 💡 No work has been done of this issue label Nov 17, 2020
@cypress-bot cypress-bot bot added stage: work in progress There is an open PR for this issue [WIP] stage: needs review The PR code is done & tested, needs review and removed stage: proposal 💡 No work has been done of this issue stage: work in progress There is an open PR for this issue [WIP] labels Nov 19, 2020
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 23, 2020

The code for this is done in cypress-io/cypress#9248, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot cypress-bot bot added stage: pending release There is a closed PR for this issue and removed stage: needs review The PR code is done & tested, needs review labels Nov 23, 2020
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 24, 2020

Released in 6.0.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v6.0.0, please open a new issue.

@cypress-bot cypress-bot bot removed the stage: pending release There is a closed PR for this issue label Nov 24, 2020
@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cli type: enhancement Requested enhancement of existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants