es-meta / esmeta

ECMAScript Specification (ECMA-262) Metalanguage
BSD 3-Clause "New" or "Revised" License
175 stars 12 forks source link

Support more readable git versions #210

Closed jhnaldo closed 5 months ago

jhnaldo commented 5 months ago

The current Git helper utilized the following command to extract Git version name:

git name-rev --name-only <target>

It produced the following output for the es2023 tag:

tags/es2023-candidate-2023-04^0

Instead, this PR proposes to use the following command to produce a more readable name for git versions:

git describe --tags --exact-match <target>

and it produces the following output for the es2023 tag:

es2023