Skip to content

Commit

Permalink
Apply working solution to all the failing places
Browse files Browse the repository at this point in the history
  • Loading branch information
Tostti committed Apr 17, 2024
1 parent abe04c3 commit 7ae6c74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev-tools/build-packages/deb/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ build_deb() {
echo

# Prepare the package
directory_name=$(tar tf wazuh-dashboard.tar.gz | head -1 | sed 's#/.*##' | sort -u)
tar -zxf wazuh-dashboard.tar.gz
directory_name=$(ls -t | head -1)
rm wazuh-dashboard.tar.gz
mv $directory_name wazuh-dashboard-base
jq '.wazuh.revision="'${revision}'"' wazuh-dashboard-base/package.json > pkgtmp.json && mv pkgtmp.json wazuh-dashboard-base/package.json
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/build-packages/rpm/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ build_rpm() {
echo

# Prepare the package
directory_name=$(tar tf wazuh-dashboard.tar.gz | head -1 | sed 's#/.*##' | sort -u)
tar -zxf wazuh-dashboard.tar.gz
directory_name=$(ls -t | head -1)
rm wazuh-dashboard.tar.gz
mv $directory_name wazuh-dashboard-base
jq '.wazuh.revision="'${revision}'"' wazuh-dashboard-base/package.json > pkgtmp.json && mv pkgtmp.json wazuh-dashboard-base/package.json
Expand Down

0 comments on commit 7ae6c74

Please sign in to comment.