Skip to content

Commit 7927322

Browse files
s373nZrustyrussell
authored andcommitted
build: Add architecture to Ubuntu repro artifacts ([#6228]).
Changelog-Changed: Added architecture identifier to Ubuntu release artifacts. ([#6228])
1 parent f271609 commit 7927322

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/repro-build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ else
5353
VER=$(uname -r)
5454
fi
5555

56+
ARCH=$(dpkg --print-architecture)
5657
PLATFORM="$OS"-"$VER"
5758
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')}
5859

@@ -164,4 +165,4 @@ make install DESTDIR=inst/
164165

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

0 commit comments

Comments
 (0)