Skip to content

Commit

Permalink
Add CLI_RELEASE_VERSIOn
Browse files Browse the repository at this point in the history
This is to read from Jenkins
  • Loading branch information
chanikag committed Jul 12, 2024
1 parent ed45ae8 commit fd10edc
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
# -----------------------------------------------------------------------

# do not indent (Makefile syntax, not bash)
ifdef MVN_RELEASE_VERSION
ifdef CLI_RELEASE_VERSION
# maven release
$(info MVN_RELEASE_VERSION is $(MVN_RELEASE_VERSION))
VERSION=$(MVN_RELEASE_VERSION)
$(info MVN_RELEASE_VERSION is $(CLI_RELEASE_VERSION))
VERSION=$(CLI_RELEASE_VERSION)
else
# not a maven release
ifdef POM_VERSION
VERSION=$(POM_VERSION)
$(info POM_VERSION is $(POM_VERSION))
endif
endif
# one of these will be set to VERSION in Jenkins Production Environment

Expand Down

0 comments on commit fd10edc

Please sign in to comment.