ESGF / esg-search

ESGF Search Component
http://esgf.org/esg-search/
Other
8 stars 14 forks source link

use 'git describe --tags' in build.xml #146

Closed muryanto1 closed 4 years ago

muryanto1 commented 4 years ago

If I run the build script on a branch/tag, I am getting incorrect tag which leads to incorrect version when building the assets.

$ git status HEAD detached at v4.18.1 nothing to commit, working directory clean $ git describe --tags v4.18.1 $ git describe v4.18.0-2-g8649f77

=== As you can see, 'git describe' returns v4.18.0-** instead of v4.18.1.

I have tested this change with a new jenkins workflow doing a build and upload (using github api), log is: https://aims1.llnl.gov/jenkins/job/ESGF_Build/job/esgf-build.esg-search.muryanto1/55/console