Skip to content

Commit

Permalink
Work on release3 (#65)
Browse files Browse the repository at this point in the history
* update release.yml

* fix if else

* small change, just want to try release feature

* update release.yml
  • Loading branch information
alexhallam authored Sep 30, 2021
1 parent 55ccd84 commit 4d99e02
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,13 @@ jobs:
#cp CHANGELOG.md "$staging/doc/"
if [ "${{ matrix.os }}" = "windows-2019" ]; then
cp "target/${{ matrix.target }}/release/tidy-viewer.exe" "$staging/"
7z a "$staging.zip" "$staging"
echo "ASSET=$staging.zip" >> $GITHUB_ENV
cp "target/${{ matrix.target }}/release/tidy-viewer.exe" "$staging/"
7z a "$staging.zip" "$staging"
echo "ASSET=$staging.zip" >> $GITHUB_ENV
else
cp "target/${{ matrix.target }}/release/rg" "$staging/"
tar czf "$staging.tar.gz" "$staging"
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
fi
- name: Upload release archive
Expand Down

0 comments on commit 4d99e02

Please sign in to comment.