Skip to content

Commit

Permalink
Make the files' versions follow the repo's VERSION file
Browse files Browse the repository at this point in the history
  • Loading branch information
f-galland committed Jan 11, 2024
1 parent cb4eae6 commit ce46825
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/assemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ function remove_unneeded_files() {
# Get missing Wazuh tools and files into packages
# ====
function get_wazuh_files() {

local version=$(<VERSION)
version=${version%%.[[:digit:]]}

wget -q https://packages-dev.wazuh.com/4.9/config.yml -O $PATH_PLUGINS/opensearch-security/tools/config.yml
wget -q https://packages-dev.wazuh.com/4.9/wazuh-passwords-tool.sh -O $PATH_PLUGINS/opensearch-security/tools/wazuh-passwords-tool.sh
wget -q https://packages-dev.wazuh.com/4.9/wazuh-certs-tool.sh -O $PATH_PLUGINS/opensearch-security/tools/wazuh-certs-tool.sh
Expand Down

0 comments on commit ce46825

Please sign in to comment.