From 4d99e0282b234f37caf1145e0b8e7bf4b28333ba Mon Sep 17 00:00:00 2001 From: Alex Hallam Date: Wed, 29 Sep 2021 23:18:28 -0400 Subject: [PATCH] Work on release3 (#65) * update release.yml * fix if else * small change, just want to try release feature * update release.yml --- .github/workflows/release.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c9edac..3e73bbb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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