mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 09:01:04 -05:00
chore(ci): Show what gets bundled
This commit is contained in:
parent
657d1b1764
commit
5adfdc2ade
1 changed files with 2 additions and 0 deletions
2
.github/workflows/post-release.yml
vendored
2
.github/workflows/post-release.yml
vendored
|
@ -101,11 +101,13 @@ jobs:
|
||||||
cp {CHANGELOG.md,docs/*} "$staging/doc/"
|
cp {CHANGELOG.md,docs/*} "$staging/doc/"
|
||||||
if [ "${{ matrix.os }}" = "windows-2019" ]; then
|
if [ "${{ matrix.os }}" = "windows-2019" ]; then
|
||||||
cp "target/${{ matrix.target }}/release/${{ env.BIN_NAME }}.exe" "$staging/"
|
cp "target/${{ matrix.target }}/release/${{ env.BIN_NAME }}.exe" "$staging/"
|
||||||
|
ls -l "$staging"
|
||||||
cd "$staging"
|
cd "$staging"
|
||||||
7z a "../$staging.zip" .
|
7z a "../$staging.zip" .
|
||||||
echo "ASSET=$staging.zip" >> $GITHUB_ENV
|
echo "ASSET=$staging.zip" >> $GITHUB_ENV
|
||||||
else
|
else
|
||||||
cp "target/${{ matrix.target }}/release/${{ env.BIN_NAME }}" "$staging/"
|
cp "target/${{ matrix.target }}/release/${{ env.BIN_NAME }}" "$staging/"
|
||||||
|
ls -l "$staging"
|
||||||
tar czf "$staging.tar.gz" -C "$staging" .
|
tar czf "$staging.tar.gz" -C "$staging" .
|
||||||
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
|
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue