fix windows packaging
This commit is contained in:
@@ -58,9 +58,7 @@ jobs:
|
|||||||
run: tar --create --gzip --file "hexapoda-${{ matrix.info.os }}-${{ github.ref_name }}.tar.gz" "completions" "manpage" -C "target/release/" "hexapoda${{ matrix.info.executable-extension }}"
|
run: tar --create --gzip --file "hexapoda-${{ matrix.info.os }}-${{ github.ref_name }}.tar.gz" "completions" "manpage" -C "target/release/" "hexapoda${{ matrix.info.executable-extension }}"
|
||||||
- name: package-zip
|
- name: package-zip
|
||||||
if: ${{ matrix.info.package-extension == 'zip' }}
|
if: ${{ matrix.info.package-extension == 'zip' }}
|
||||||
run: |
|
run: tar --create --auto-compress --file "hexapoda-${{ matrix.info.os }}-${{ github.ref_name }}.zip" "completions" "manpage" -C "target/release/" "hexapoda${{ matrix.info.executable-extension }}"
|
||||||
move "target/release/hexapoda${{ matrix.info.executable-extension }}" "."
|
|
||||||
zip --recurse-paths "hexapoda-${{ matrix.info.os }}-${{ github.ref_name }}.zip" "hexapoda${{ matrix.info.executable-extension }}" "completions" "manpage"
|
|
||||||
- name: release
|
- name: release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user