Skip to content

Commit db94645

Browse files
committed
fix: standardize build_dir pattern in DEB workflow
- Change build_dir from '$exporter-$dist-$arch' to '$exporter-$arch-$dist' - Fixes build-info.json not found errors (line 246 and 292) - Aligns with RPM and Docker build patterns for consistency Resolves: prometheus, json_exporter, and other DEB build failures
1 parent 43e0aab commit db94645

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ jobs:
243243
debian-13) image="debian:trixie" ;;
244244
esac
245245
246-
build_dir="build/$exporter-$dist-$arch"
246+
build_dir="build/$exporter-$arch-$dist"
247247
248248
echo "::group::🔧 Generating DEB control files"
249249
python3 -m core.engine.builder --manifest "exporters/$exporter/manifest.yaml" --output-dir "$build_dir" --arch "$arch"
@@ -289,7 +289,7 @@ jobs:
289289
arch="${{ matrix.arch }}"
290290
dist="${{ matrix.dist }}"
291291
version="${{ needs.get-version.outputs.version }}"
292-
build_dir="build/$exporter-$dist-$arch"
292+
build_dir="build/$exporter-$arch-$dist"
293293
294294
deb_files=$(find "$build_dir/debs" -name "*.deb")
295295
if [ -z "$deb_files" ]; then

0 commit comments

Comments
 (0)