Skip to content

Commit

Permalink
chore: Update crowdsec-bunkerweb-bouncer version to v1.6
Browse files Browse the repository at this point in the history
This commit updates the crowdsec-bunkerweb-bouncer version in the crowdsec.lua file from v1.1 to v1.6. This is done by modifying the cs_init function call in the crowdsec:init() function.
  • Loading branch information
TheophileDiot committed Jun 24, 2024
1 parent 7152b88 commit f6b1b69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crowdsec/crowdsec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function crowdsec:init()
end
-- Init CS
local ok
ok, err = cs_init("/var/cache/bunkerweb/crowdsec/crowdsec.conf", "crowdsec-bunkerweb-bouncer/v1.1")
ok, err = cs_init("/var/cache/bunkerweb/crowdsec/crowdsec.conf", "crowdsec-bunkerweb-bouncer/v1.6")
if not ok then
self.logger:log(ERR, "error while initializing bouncer : " .. err)
return self:ret(false, err)
Expand Down
1 change: 1 addition & 0 deletions misc/update_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ fi
echo "Updating version of plugins to \"$1\""

find . -type f -name "plugin.json" -exec sed -i 's@"version": "[0-9].*"@"version": "'"$1"'"@' {} \;
sed -i 's@"crowdsec-bunkerweb-bouncer/v[0-9].*"@"crowdsec-bunkerweb-bouncer/v'"$1"'"@' crowdsec/crowdsec.lua

0 comments on commit f6b1b69

Please sign in to comment.