kobotoolbox / enketo-express

We've moved! Please use the new repository 🠊 https://github.com/enketo/enketo-express
Apache License 2.0
102 stars 90 forks source link

Change version shown on homepage to include tag or commit #1045

Closed MartijnR closed 6 years ago

MartijnR commented 6 years ago

or all of them!

version from package.json + commit (short) hash => 1.66.2-#sfd42sdafw23

This seems perfect: git describe --tags, https://git-scm.com/docs/git-describe

MartijnR commented 6 years ago

Problem is that this won't work when git is not used (as OC is planning)