Skip to content

Commit 418d71f

Browse files
committed
Reveal what kind of file the executables are when making archives
1 parent 564bdc9 commit 418d71f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,12 @@ jobs:
201201
cp {README.md,LICENSE-*,CHANGELOG.md} "$staging/"
202202
203203
if [ "${{ matrix.os }}" = "windows-latest" ]; then
204+
file target/${{ matrix.target }}/release/ein.exe target/${{ matrix.target }}/release/gix.exe
204205
cp target/${{ matrix.target }}/release/ein.exe target/${{ matrix.target }}/release/gix.exe "$staging/"
205206
7z a "$staging.zip" "$staging"
206207
echo "ASSET=$staging.zip" >> $GITHUB_ENV
207208
else
209+
file target/${{ matrix.target }}/release/ein target/${{ matrix.target }}/release/gix
208210
cp target/${{ matrix.target }}/release/ein target/${{ matrix.target }}/release/gix "$staging/"
209211
tar czf "$staging.tar.gz" "$staging"
210212
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV

0 commit comments

Comments
 (0)