Add manual assets with manpages to .deb

This commit is contained in:
Martin Frost 2021-12-25 19:59:06 +01:00
parent 5a90506317
commit 201bb55bd0
2 changed files with 15 additions and 0 deletions

View File

@ -14,6 +14,8 @@ jobs:
toolchain: stable toolchain: stable
override: true override: true
- run: cargo install cargo-deb - run: cargo install cargo-deb
- run: cargo build --release
- run: ./build-manpages.sh
- run: cargo deb - run: cargo deb
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:

View File

@ -25,3 +25,16 @@ section = "vcs"
priority = "optional" priority = "optional"
extended-description = """\ extended-description = """\
A set of git subcommands for including co-authors to your git commits.""" A set of git subcommands for including co-authors to your git commits."""
assets = [
["target/release/git-mob", "usr/bin/", "755"],
["target/release/git-solo", "usr/bin/", "755"],
["target/release/git-add-coauthor", "usr/bin/", "755"],
["target/release/git-edit-coauthor", "usr/bin/", "755"],
["target/release/git-delete-coauthor", "usr/bin/", "755"],
["target/man/git-mob.1.gz", "usr/share/man/man1/", "644"],
["target/man/git-solo.1.gz", "usr/share/man/man1/", "644"],
["target/man/git-add-coauthor.1.gz", "usr/share/man/man1/", "644"],
["target/man/git-edit-coauthor.1.gz", "usr/share/man/man1/", "644"],
["target/man/git-delete-coauthor.1.gz", "usr/share/man/man1/", "644"],
["README.md", "usr/share/doc/git-mob/README", "644"],
]