Permalink
Newer
100755
36 lines (33 sloc)
1.06 KB
9
# Normally we use last released midPoint version number here, e.g. "4.1".
10
# But if we need to incorporate interim changes to I2 distribution during
11
# midPoint development cycle, we can specify concrete file from "midpoint-tier"
12
# download directory by using its name (like "latest-stable").
13
MP_VERSION="4.1"
19
if [[ $MP_VERSION =~ ^[0-9]+(\.[0-9]+)+$ ]]; then
20
URL_BASE="https://download.evolveum.com/midpoint/$MP_VERSION/"
27
curl --output $DIR/midpoint-dist.tar.gz "$URL_BASE/midpoint-$MP_VERSION-dist.tar.gz"