Skip to content

Commit 8441107

Browse files
feat(*): Use new lib with remediation engine
1 parent 4485617 commit 8441107

File tree

249 files changed

+23479
-4794
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

249 files changed

+23479
-4794
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ jobs:
6565
echo "$LAST_TAG...v${{ env.VERSION_NUMBER }})"
6666
exit 1
6767
fi
68-
CROWDSEC_VERSION=$(grep -E "Version: (.*)" crowdsec.php | sed 's/ //g')
69-
echo $CROWDSEC_VERSION
68+
VERSION=$(grep -E "Version: (.*)" crowdsec.php | sed 's/ //g')
69+
echo $VERSION
7070
echo "*Version:${{ env.VERSION_NUMBER }}"
71-
if [[ $CROWDSEC_VERSION == "*Version:${{ env.VERSION_NUMBER }}" ]]
71+
if [[ $VERSION == "*Version:${{ env.VERSION_NUMBER }}" ]]
7272
then
7373
echo "Version in crowdsec.php: OK"
7474
else
@@ -95,10 +95,10 @@ jobs:
9595
echo "Stable tag in readme.txt: KO"
9696
exit 1
9797
fi
98-
CONSTANT_VERSION=$(grep -E "WordPress CrowdSec Bouncer/v(.*)" inc/Constants.php | sed 's/[\x27(),/ ]//g')
98+
CONSTANT_VERSION=$(grep -E "VERSION = 'v(.*)" inc/Constants.php | sed 's/[\x27(),/ ]//g')
9999
echo $CONSTANT_VERSION
100-
echo "publicconstCROWDSEC_BOUNCER_USER_AGENT=WordPressCrowdSecBouncerv${{ env.VERSION_NUMBER }};"
101-
if [[ $CONSTANT_VERSION == "publicconstCROWDSEC_BOUNCER_USER_AGENT=WordPressCrowdSecBouncerv${{ env.VERSION_NUMBER }};" ]]
100+
echo "publicconstVERSION=v${{ env.VERSION_NUMBER }};"
101+
if [[ $CONSTANT_VERSION == "publicconstVERSION=v${{ env.VERSION_NUMBER }};" ]]
102102
then
103103
echo "Version in inc/Constants.php: OK"
104104
else

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
},
2121
"require": {
22-
"crowdsec/bouncer": "0.35.0",
22+
"crowdsec/bouncer": "0.36.0",
2323
"symfony/polyfill-mbstring": "1.20.0",
2424
"symfony/service-contracts": "2.4.1"
2525
},

0 commit comments

Comments
 (0)