Skip to content

Commit

Permalink
enable resolution for .x versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kgyrtkirk committed Nov 25, 2020
1 parent 1cabde6 commit f5b997f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scripts/cdpd-patcher
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COMPONENT="${1}"
VERSION="$2"
VERSION="${VERSION:-cdpd-master}"
case "$VERSION" in
cdpd-master|*-maint)
cdpd-master|*-maint|*.x)
echo "@@@ lookup stackversion for releasline $VERSION"
wget -nv -O $tmp "http://release.infra.cloudera.com/hwre-api/getreleaseversion?stack=CDH&releaseline=$VERSION"
VERSION="`cat $tmp|jq -r .version`"
Expand Down

0 comments on commit f5b997f

Please sign in to comment.