Skip to content

Commit 5273142

Browse files
committed
fix determination of latest version
1 parent 7f21c65 commit 5273142

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

build-image.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ base_image_linux_flavor=${base_image_name%%:*}
2323
app_version=${SOFTHSM_VERSION:-latest}
2424
case $app_version in \
2525
latest)
26-
app_version=$(curl -sSfL https://github.com/opendnssec/SoftHSMv2/releases/latest | sed -n "s/.*releases\/tag\/\([0-9]\.[0-9]\.[0-9]\)['\"].*/\1/p" | head -1)
26+
#app_version=$(curl -sSfL https://github.com/opendnssec/SoftHSMv2/releases/latest | sed -n "s/.*releases\/tag\/\([0-9]\.[0-9]\.[0-9]\)['\"].*/\1/p" | head -1)
27+
app_version=$(curl -sSfL https://github.com/opendnssec/SoftHSMv2/tags | sed -n "s/.*releases\/tag\/\([0-9]\.[0-9]\.[0-9]\)['\"].*/\1/p" | head -1)
2728
softhsm_source_url=https://codeload.github.com/opendnssec/SoftHSMv2/tar.gz/refs/tags/$app_version
2829
app_version_is_latest=1
2930
;;

0 commit comments

Comments
 (0)