Skip to content

Commit

Permalink
Merge pull request #1729 from wazuh/change/1722-cherry-pick-version-f…
Browse files Browse the repository at this point in the history
…ile-standardization

Standardize version file format (cherry-pick to main)
  • Loading branch information
c-bordon authored Feb 19, 2025
2 parents 33ba030 + c54db5e commit 39f3a73
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ WAZUH_MONITORING_REPLICAS=0 ##
│   ├── docker-compose.yml
│   ├── generate-indexer-certs.yml
│   └── README.md
└── VERSION
└── VERSION.json


## Branches
Expand Down
2 changes: 0 additions & 2 deletions VERSION

This file was deleted.

4 changes: 4 additions & 0 deletions VERSION.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"version": "5.0.0",
"stage": "alpha0"
}
9 changes: 2 additions & 7 deletions build-docker-images/build-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,8 @@ build() {
elif curl --output /dev/null --silent --head --fail "https://github.com/wazuh/wazuh/tree/${FILEBEAT_TEMPLATE_BRANCH}"; then
FILEBEAT_TEMPLATE_BRANCH="${FILEBEAT_TEMPLATE_BRANCH}"
else
WAZUH_MASTER_VERSION="$(curl -s https://raw.githubusercontent.com/wazuh/wazuh/master/src/VERSION | sed -e 's/v//g')"
if [ "${FILEBEAT_TEMPLATE_BRANCH}" == "${WAZUH_MASTER_VERSION}" ]; then
FILEBEAT_TEMPLATE_BRANCH="master"
else
echo "The indicated branch does not exist in the wazuh/wazuh repository: ${FILEBEAT_TEMPLATE_BRANCH}"
clean 1
fi
echo "The indicated branch does not exist in the wazuh/wazuh repository: ${FILEBEAT_TEMPLATE_BRANCH}"
clean 1
fi
fi

Expand Down

0 comments on commit 39f3a73

Please sign in to comment.