Skip to content

Commit

Permalink
Fix Missing MILESTONE_PREFIX for stable version
Browse files Browse the repository at this point in the history
  • Loading branch information
hbenali committed Sep 1, 2020
1 parent c1be97b commit f7e4d6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _functions_download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ do_download_maven_artifact() {
# Stable version detected
if [[ ! "$latestmilestoneprefix" =~ .*-(M|RC|CP)$ ]]; then
_artifactTimestamp="$latestmilestoneprefix"
env_var MILESTONE_PREFIX ""
else
env_var MILESTONE_SUFFIX "$latestmilestonesuffix"
env_var MILESTONE_PREFIX "$(echo $latestmilestoneprefix | grep -oP '\-(M|RC|CP)')"
Expand Down

0 comments on commit f7e4d6a

Please sign in to comment.