From b4e1b24f33b29d76c31c8dab9ec0373c7f32a7f3 Mon Sep 17 00:00:00 2001 From: Raphael Amorim Date: Sun, 21 Jul 2024 13:40:22 +0200 Subject: [PATCH] use cargo-deb default --- .github/workflows/release.yml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6fd46eeff6..3160fd0d6d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,7 +48,7 @@ jobs: - run: sudo apt install rename - run: rustup toolchain install stable --profile minimal - - run: cargo install cargo-deb@2.4.0 + - run: cargo install cargo-deb - run: mkdir -p release - run: make release-debian-x11 - run: make release-debian-wayland diff --git a/Makefile b/Makefile index 82dd2cc81c..afc5c1bde2 100644 --- a/Makefile +++ b/Makefile @@ -132,13 +132,13 @@ release-wayland: # To install: sudo release/debian/rio___.deb # e.g: sudo release/debian/rio_0.0.13_arm64_wayland.deb release-debian-x11: - cargo deb -p rioterm -- --release --no-default-features --features=x11 + cargo deb -p rioterm -- --no-default-features --features=x11 mkdir -p $(RELEASE_DIR)/debian/x11 mv $(TARGET_DIR_DEBIAN)/* $(RELEASE_DIR)/debian/x11/ cd $(RELEASE_DIR)/debian/x11 && rename 's/.deb/_x11.deb/g' * release-debian-wayland: - cargo deb -p rioterm -- --release --no-default-features --features=wayland + cargo deb -p rioterm -- --no-default-features --features=wayland mkdir -p $(RELEASE_DIR)/debian/wayland mv $(TARGET_DIR_DEBIAN)/* $(RELEASE_DIR)/debian/wayland/ cd $(RELEASE_DIR)/debian/wayland && rename 's/.deb/_wayland.deb/g' *