Skip to content

Commit dfe1fd3

Browse files
committed
Add /latest-version endpoint that returns the latest version of Yarn.
Of course, this is possible with the GitHub API, this is just an easier way of accessing the data. It could be useful in shell scripts, for example: ``` LATEST_VERSION=`curl https://yarnpkg.com/latest-version` ```
1 parent fe265c9 commit dfe1fd3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

latest-version

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
layout: null
3+
---
4+
{{site.latest_version}}

0 commit comments

Comments
 (0)