Skip to content

Commit f5567d8

Browse files
committed
ci: upload these manual pages to a release for versioned documentation
1 parent 74aaba9 commit f5567d8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,10 @@ jobs:
2323
nix develop -c goreleaser release --clean
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
- name: Include documentation
27+
run: |
28+
TAG="${{ github.ref_name }}"
29+
TAG="${TAG#v}"
30+
gh release upload "$TAG" man/git-coverage.1#git-coverage_"$TAG"_man.1
31+
env:
32+
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)