Skip to content

Commit

Permalink
build: Add architecture to Ubuntu repro artifacts ([#6228]).
Browse files Browse the repository at this point in the history
  • Loading branch information
s373nZ committed Nov 8, 2024
1 parent 7012d7f commit f81b231
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/repro-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ else
VER=$(uname -r)
fi

ARCH=$(dpkg --print-architecture)
PLATFORM="$OS"-"$VER"
VERSION=${FORCE_VERSION:-$(git describe --tags --always --dirty=-modded --abbrev=7 2>/dev/null || pwd | sed -n 's,.*/clightning-\(v[0-9.rc\-]*\)$,\1,p')}

Expand Down Expand Up @@ -164,4 +165,4 @@ make install DESTDIR=inst/

cd inst && tar --sort=name \
--mtime="$MTIME 00:00Z" \
--owner=0 --group=0 --numeric-owner -cvaf ../clightning-"$VERSION-$PLATFORM".tar.xz .
--owner=0 --group=0 --numeric-owner -cvaf ../clightning-"$VERSION-$PLATFORM-$ARCH".tar.xz .

0 comments on commit f81b231

Please sign in to comment.