Skip to content

Commit c771d7d

Browse files
committed
Fixup release
1 parent cda106a commit c771d7d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,12 @@ jobs:
5858
- name: Package (Unix)
5959
if: matrix.os != 'windows-latest'
6060
run: |
61-
cd target/${{ matrix.target }}/release
62-
tar czvf ../../../vector-${{ matrix.target }}.tar.gz vector
63-
cd ../../..
61+
staging="vector-${{ matrix.target }}"
62+
mkdir -p "$staging/man/man1"
63+
cp target/${{ matrix.target }}/release/vector "$staging/"
64+
cp man/man1/vector.1 "$staging/man/man1/"
65+
tar czvf "$staging.tar.gz" -C "$staging" .
66+
rm -rf "$staging"
6467
6568
- name: Package (Windows)
6669
if: matrix.os == 'windows-latest'

0 commit comments

Comments
 (0)