Skip to content

Commit

Permalink
Fix hard coded revision number on RPM assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Mar 22, 2024
1 parent ef09a2c commit b605575
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build_inline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ on:
required: true
description: "AWS user secret key"

env:
TEST: true

# ==========================
# Bibliography
# ==========================
Expand Down Expand Up @@ -142,7 +145,7 @@ jobs:
- name: Test DEB package
if: ${{ matrix.distribution == 'deb' }}
run: |
sudo dpkg -i "artifacts/dist/${{ steps.package.outputs.name }}" -y
sudo dpkg -i "artifacts/dist/${{ steps.package.outputs.name }}"
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions scripts/assemble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ function assemble_rpm() {
version=$(cat ./usr/share/wazuh-indexer/VERSION)

# Install plugins
install_plugins
# install_plugins
enable_performance_analyzer_rca ${src_path}
# Swap configuration files
add_configuration_files
Expand All @@ -305,7 +305,7 @@ function assemble_rpm() {

# Move to the root folder, copy the package and clean.
cd ../../..
package_name="wazuh-indexer-${version}-1.${SUFFIX}.${EXT}"
package_name="wazuh-indexer-${version}-${REVISION}.${SUFFIX}.${EXT}"
cp "${TMP_DIR}/RPMS/${SUFFIX}/${package_name}" "${OUTPUT}/dist/$ARTIFACT_PACKAGE_NAME"

clean
Expand Down

0 comments on commit b605575

Please sign in to comment.