Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Automation #7797

Merged
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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated nit, but iirc breaking your "changlog" notes into two lines will cause problems for the tool that auto reads them. eg

Changelog-Changed: Added architecture identifier to Ubuntu release
artifacts. ([https://github.com/ElementsProject/lightning/issues/6228])

should be

Changelog-Changed: Added architecture identifier to Ubuntu release artifacts. ([https://github.com/ElementsProject/lightning/issues/6228])

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 .