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

Show latest version number on website #1248

Closed
Daniel15 opened this issue May 12, 2017 · 7 comments
Closed

Show latest version number on website #1248

Daniel15 opened this issue May 12, 2017 · 7 comments

Comments

@Daniel15
Copy link
Member

What do you think of this?

@xtuc
Copy link
Member

xtuc commented May 12, 2017

Like showing the version used in the REPL?

screenshot from 2017-05-12 11-32-05

@Daniel15
Copy link
Member Author

Yeah, something like that. See how the Yarn site does it for example: https://yarnpkg.com/

The version in the REPL comes from the version property on Babel itself (via babel-standalone). The REPL takes a while to load, so it'd be good to have the version number on the home page somewhere too.

@xtuc
Copy link
Member

xtuc commented May 13, 2017

Yes that would be great. How do you update it in Yarn? Since we have two different repo it's a bit trickier, see #1239

@Daniel15
Copy link
Member Author

How do you update it in Yarn?

The version number is stored in _config.yml, and part of the automated process for publishing a new release is bumping that number:
https://github.com/yarnpkg/website/blob/master/scripts/set-version.sh
https://github.com/yarnpkg/yarn/blob/master/jenkins_jobs.groovy#L27-L28

This version number is also served from https://yarnpkg.com/latest-version, which is the source of truth for anyone wanting the version number for the latest Yarn version.

@hzoo
Copy link
Member

hzoo commented May 17, 2017

Yeah we had it at the bottom of the site a long time ago but it was removed later

@hzoo
Copy link
Member

hzoo commented Jan 26, 2018

Might be covered in #1485 when we have versions and we create a new version on release?

@hzoo
Copy link
Member

hzoo commented Jun 15, 2018

Moving to #1633

@hzoo hzoo closed this as completed Jun 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants