Skip to content

Commit

Permalink
fix: update VERSION.json to include version and commit SHA
Browse files Browse the repository at this point in the history
  • Loading branch information
guidomodarelli committed Feb 19, 2025
1 parent eb16042 commit accd78e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-tools/build-packages/deb/deb-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ tar -zxf ${out_dir}/wazuh-dashboard-$version-$revision-linux-$architecture.tar.g
log "Preparing the package..."
jq '.wazuh.revision="'${revision}'"' package.json > pkgtmp.json && mv pkgtmp.json package.json
cp $config_path/* .
echo ${version} > VERSION
jq '.version="'${version}'"' VERSION.json > VERSION.tmp && mv VERSION.tmp VERSION.json
jq '.commit="'${commit_sha}'"' VERSION.json > VERSION.tmp && mv VERSION.tmp VERSION.json
cd ..
tar -czf wazuh-dashboard.tar.gz wazuh-dashboard-base

Expand Down

0 comments on commit accd78e

Please sign in to comment.