From 11e941eba02a4b3d5ec187cbdd8437691c7d8c64 Mon Sep 17 00:00:00 2001 From: Alex Hallam Date: Wed, 29 Sep 2021 22:22:18 -0400 Subject: [PATCH] Work on release (#63) * update release.yml * fix if else --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3268fef..0c9edac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -164,10 +164,11 @@ jobs: cp {README.md,UNLICENSE} "$staging/" #cp CHANGELOG.md "$staging/doc/" - [ "${{ matrix.os }}" = "windows-2019" ]; then + 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 + fi - name: Upload release archive uses: actions/upload-release-asset@v1.0.1