Skip to content

Commit

Permalink
Fix artifact naming in consolidation code in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferroin committed Mar 21, 2022
1 parent 6b6df95 commit c902268
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,10 @@ jobs:
echo "RELEASE_TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Consolidate Artifacts
run: |
ls -rl artifacts/
mkdir -p final-artifacts
for libc in static glibc musl; do
mkdir -p "packages/netdata-ebpf-co-re-${libc}-${RELEASE_TAG}"
for pkg in artifacts/artifacts/netdata-*_*-${libc}.tar.xz; do
for pkg in artifacts/netdata_ebpf-*_*-${libc}.tar.xz; do
tar -C "packages/netdata-kernel-collector-${libc}-${RELEASE_TAG}" -xvf "${pkg}"
done
tar -C "packages/netdata-kernel-collector-${libc}-${RELEASE_TAG}" -Jcvf "final-artifacts/netdata-kernel-collector-${libc}-${RELEASE_TAG}.tar.xz" ./
Expand Down

0 comments on commit c902268

Please sign in to comment.