build: Add architecture to Ubuntu repro artifacts ([#6228]).

Changelog-Changed: Added architecture identifier to Ubuntu release
artifacts. ([#6228])
This commit is contained in:
Se7enZ 2024-12-02 14:44:48 +10:30 committed by Rusty Russell
parent f2716092be
commit 79273220f4

View File

@ -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')}
@ -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 .