Closed chriseldredge closed 9 years ago
Try the newly released 0.6.2 version. I think you will like the new behaviour.
If your current commit is tagged (p.e v1.4.2
) that will be the version number.
If your current commit is not tagged, it uses the version in your package.json + the sha of the current commit.
If the package.json doesn't define a version number, it will use the name of you current branch + sha. P.e develop.a1b2c3d4
Please close this issue if the new behaviour satisfy your needs.
That does the trick. Thanks!
It would be nice if the version could be pulled from package.json instead of having to specify it in yuidoc.json.
For compatibility, the addon could look for a version defined in yuidoc.json first, and if it is undefined then get the version from package.json.