From 75615d45bf73e2bb09592ea809eb15baadafb7f2 Mon Sep 17 00:00:00 2001 From: Disconnect3d Date: Thu, 29 Aug 2024 18:19:41 +0200 Subject: [PATCH] add scripts/release.sh for building release binaries (#2399) --- scripts/release.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 scripts/release.sh diff --git a/scripts/release.sh b/scripts/release.sh new file mode 100755 index 000000000..7a0399c43 --- /dev/null +++ b/scripts/release.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# This script performs a release build similar to what CI/CD does +# It just does everything at once :) +# +# It can be useful if one needs to build the release binaries manually + +O="--extra-experimental-features nix-command --extra-experimental-features flakes" + +nix build $O '.#pwndbg' -o result-pwndbg +nix build $O '.#rpm' -o dist-rpm +nix build $O '.#deb' -o dist-deb +nix build $O '.#apk' -o dist-apk +nix build $O '.#archlinux' -o dist-archlinux +nix build $O '.#tarball' -o dist-tarball