diff options
author | Stefan Bethke <stb@lassitu.de> | 2020-03-25 23:21:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-26 00:21:33 +0200 |
commit | e72c5cb02a235d79d6dd4fd96a8da85838ce7d9f (patch) | |
tree | b1d8d7656e421b96d4fee7e65b8bda7b1d68e86e /LICENSE | |
parent | ad6f2323b77f048c2d689b22a0610ba33723bec6 (diff) | |
download | gitea-e72c5cb02a235d79d6dd4fd96a8da85838ce7d9f.tar.gz gitea-e72c5cb02a235d79d6dd4fd96a8da85838ce7d9f.zip |
Simplify grep regexp to be more compatible (#10765)
* Simplify grep regexp to be more compatible
The new expression also works with the BSD implementation of grep. Also,
I believe the expression did not work consistently for all possible
version numers, for example a two digit patch version would not have
been matched.
* Fix quote
* Allow for two and three part version numbers
* Select one, two and three part version numbers, reject amd64
* Also allow one to three parts for node version
* Use JS code to print node verion in correct format
* Avoid grep altogether
* Handle go1.14beta1 as well.
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions