Skip to content

Commit

Permalink
Add man page to build tar file
Browse files Browse the repository at this point in the history
  • Loading branch information
AsamK committed Jan 18, 2025
1 parent 2d1ba6b commit 26e1398
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,14 @@ jobs:
uses: gradle/gradle-build-action@v2
with:
dependency-graph: generate-and-submit
- name: Install asciidoc
run: sudo apt --no-install-recommends install -y asciidoc-base
- name: Build with Gradle
run: ./gradlew --no-daemon build
- name: Build man page
run: (cd man && make install)
- name: Add man page to archive
run: version=$(tar tf build/distributions/signal-cli-*.tar | head -n1 | sed 's|signal-cli-\([^/]*\)/.*|\1|'); tar --transform="flags=r;s|man|signal-cli-${version}/man|" -rf build/distributions/signal-cli-*.tar man/man{1,5}
- name: Compress archive
run: gzip -n -9 build/distributions/signal-cli-*.tar
- name: Archive production artifacts
Expand Down

0 comments on commit 26e1398

Please sign in to comment.