Skip to content

Commit

Permalink
use cargo-deb default
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jul 21, 2024
1 parent 61a63a5 commit b4e1b24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ release-wayland:
# To install: sudo release/debian/rio_<version>_<architecture>_<feature>.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' *
Expand Down

0 comments on commit b4e1b24

Please sign in to comment.