Skip to content

Commit 5d75940

Browse files
committed
Fine-tuning deb archive
1 parent d721d6f commit 5d75940

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

release.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ cp -p ./target/x86_64-unknown-linux-gnu/release/arp-scan ./builds/arp-scan-v$CLI
2222
# Build the deb archive
2323
mkdir -p ./builds/arp-scan-rs_$CLI_VERSION-1_amd64/DEBIAN
2424
echo "Package: arp-scan-rs" > ./builds/arp-scan-rs_$CLI_VERSION-1_amd64/DEBIAN/control
25-
echo "Version: 0.13.0" >> ./builds/arp-scan-rs_$CLI_VERSION-1_amd64/DEBIAN/control
26-
echo "Architecture: all" >> ./builds/arp-scan-rs_$CLI_VERSION-1_amd64/DEBIAN/control
25+
echo "Version: $CLI_VERSION" >> ./builds/arp-scan-rs_$CLI_VERSION-1_amd64/DEBIAN/control
26+
echo "Architecture: amd64" >> ./builds/arp-scan-rs_$CLI_VERSION-1_amd64/DEBIAN/control
2727
echo "Maintainer: Saluki" >> ./builds/arp-scan-rs_$CLI_VERSION-1_amd64/DEBIAN/control
2828
echo "Description: Minimalist ARP scan written in Rust" >> ./builds/arp-scan-rs_$CLI_VERSION-1_amd64/DEBIAN/control
2929
mkdir -p ./builds/arp-scan-rs_$CLI_VERSION-1_amd64/usr/local/bin
30-
cp ./builds/arp-scan-v$CLI_VERSION-x86_64-unknown-linux-glibc ./builds/arp-scan-rs_$CLI_VERSION-1_amd64/usr/local/bin/arp-scan
31-
(cd ./builds && dpkg-deb --build --root-owner-group arp-scan-rs_0.13.0-1_amd64)
30+
cp ./builds/arp-scan-v$CLI_VERSION-x86_64-unknown-linux-musl ./builds/arp-scan-rs_$CLI_VERSION-1_amd64/usr/local/bin/arp-scan
31+
(cd ./builds && dpkg-deb --build --root-owner-group arp-scan-rs_$CLI_VERSION-1_amd64)
3232

3333
echo "Update the README instructions for v$CLI_VERSION"
3434
echo " ✓ Publish on crates.io"

0 commit comments

Comments
 (0)