We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cc15540 + 40662d2 commit ac39761Copy full SHA for ac39761
root/etc/s6-overlay/s6-rc.d/init-mod-swag-crowdsec/run
@@ -32,6 +32,11 @@ if [[ -z ${CROWDSEC_VERSION+x} ]]; then \
32
CROWDSEC_VERSION=$(curl -s "https://api.github.com/repos/crowdsecurity/cs-nginx-bouncer/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]');
33
fi
34
35
+if [[ -z ${CROWDSEC_VERSION+x} ]]; then \
36
+ echo "**** Could not fetch current bouncer version from Github ****"
37
+ exit 1
38
+fi
39
+
40
curl "${CURL_NOISE_LEVEL}" -Lo \
41
/tmp/crowdsec.tar.gz -L \
42
"https://github.com/crowdsecurity/cs-nginx-bouncer/releases/download/${CROWDSEC_VERSION}/crowdsec-nginx-bouncer.tgz"
0 commit comments