nim-lang / nightlies

Separate repository to trigger installer builds.
MIT License
44 stars 14 forks source link

build-release: parse version using regex #48

Closed alaviss closed 3 years ago

alaviss commented 3 years ago

While nim secret was useful for obtaining this information programmatically, its output appears to not be as stable as expected.

This commit change build-release to use bash regex capability to obtain the needed information from nim --version.

Fixes broken devel nightlies.