Closed muryanto1 closed 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
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