Skip to content

Commit

Permalink
Debian build (#15)
Browse files Browse the repository at this point in the history
* debian build

* update github action

* update version
  • Loading branch information
darrell-roberts authored Dec 30, 2024
1 parent 6ee0626 commit 30348d1
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ jobs:
export PATH=$HOME/.local/bin:$PATH
make linux-app-image
- name: Debian package
run: |
cargo install cargo-deb
cargo deb
# - name: Build bundle
# uses: AppImageCrafters/build-appimage-action@master
# env:
Expand All @@ -94,5 +99,6 @@ jobs:
with:
files: |
Folder_Stats_TUI-x86_64.AppImage
target/debian/*.deb
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = "folder-stats-tui"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "MIT"
description = "Terminal User Interface for viewing folder statistics"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -15,3 +16,16 @@ flexi_logger = "0.28"
ignore = "0.4"
log = "0.4"
ratatui = "0.26"

[package.metadata.deb]
maintainer = "Darrell Roberts"
copyright = "2024, Darrell Roberts"
license-file = "LICENSE"
extended-description = """\
folder-stats-tui is a terminal-based user interface application designed to scan and display statistics of directories."""
section = "utility"
priority = "optional"
assets = [
["target/release/folder-stats-tui", "usr/bin/", "755"],
["assets/folder-stats-tui.1.gz", "usr/share/man/man1/", "644"]
]
Binary file added assets/folder-stats-tui.1.gz
Binary file not shown.

0 comments on commit 30348d1

Please sign in to comment.