fix completion/manpage generation

This commit is contained in:
alice pellerin
2026-05-01 23:54:35 -05:00
parent 5bdb44ffba
commit b755f4a603
+5 -6
View File
@@ -46,14 +46,13 @@ jobs:
run: grep --quiet "$(echo "${{ github.ref_name }}" | cut -c2-)" Cargo.toml run: grep --quiet "$(echo "${{ github.ref_name }}" | cut -c2-)" Cargo.toml
- name: test - name: test
run: cargo test --release run: cargo test --release
- name: enable completion/manpage generation - name: make completion/manpage folders
run: | run: mkdir completions manpage
mkdir completions
export HEXAPODA_COMPLETIONS=completions/
mkdir manpage
export HEXAPODA_MANPAGE=manpage/
- name: build - name: build
run: cargo build --release --locked run: cargo build --release --locked
env:
HEXAPODA_COMPLETIONS: completions
HEXAPODA_MANPAGE: manpage
- name: package-tar-gz - name: package-tar-gz
if: ${{ matrix.info.package-extension == 'tar.gz' }} if: ${{ matrix.info.package-extension == 'tar.gz' }}
run: tar --create --gzip --file "hexapoda-${{ matrix.info.os }}-${{ github.ref_name }}.tar.gz" -C "target/release/" "hexapoda${{ matrix.info.executable-extension }}" -C "." "completions" "manpage" run: tar --create --gzip --file "hexapoda-${{ matrix.info.os }}-${{ github.ref_name }}.tar.gz" -C "target/release/" "hexapoda${{ matrix.info.executable-extension }}" -C "." "completions" "manpage"