message: Correctly tar release binaries
diff: @@ -14,7 +14,7 @@ env:
  LINUX_TARGET: x86_64-unknown-linux-musl
  # Space separated paths to include in the archive.
  - RELEASE_ADDS: README.md LICENSE-APACHE LICENSE-MIT wrangler-demo.gif banner.png
  + RELEASE_ADDS: README.md
  jobs:
  build:
  @@ -106,19 +106,28 @@ jobs:
  RUSTFLAGS: -Ctarget-feature=+crt-static
  - name: Create artifact directory
  - run: mkdir ${{ env.RELEASE_DIR }}
  + run: |
  + mkdir ${{ env.RELEASE_DIR }}
  + mkdir dist
  - name: Create tarball (Linux)
  if: matrix.build == 'linux'
  - run: 7z a -ttar -so -an ./target/${{ env.LINUX_TARGET }}/release/${{ env.RELEASE_BIN }} ${{ env.RELEASE_ADDS }} | 7z a -si ./${{ env.RELEASE_DIR }}/${{ env.RELEASE_BIN }}-${{ steps.get_version.outputs.VERSION }}-${{ env.LINUX_TARGET }}.tar.gz
  + run: |
  + mv ./target/${{ env.LINUX_TARGET }}/release/${{ env.RELEASE_BIN }} ./dist/${{ env.RELEASE_BIN }} && mv ${{ env.RELEASE_ADDS }} ./dist
  + 7z a -ttar -so -an ./dist | 7z a -si ./${{ env.RELEASE_DIR }}/${{ env.RELEASE_BIN }}-${{ steps.get_version.outputs.VERSION }}-${{ env.LINUX_TARGET }}.tar.gz
  - name: Create tarball (Windows)
  if: matrix.build == 'windows'
  - run: 7z a -tzip ./${{ env.RELEASE_DIR }}/${{ env.RELEASE_BIN }}-${{ steps.get_version.outputs.VERSION }}-${{ env.WINDOWS_TARGET }}.tar.gz ./target/release/${{ env.RELEASE_BIN }}.exe ${{ env.RELEASE_ADDS }}
  + run: |
  + mv ./target/release/${{ env.RELEASE_BIN }}.exe ./dist/${{ env.RELEASE_BIN }}.exe
  + mv ${{ env.RELEASE_ADDS }} ./dist
  + 7z a -ttar ./${{ env.RELEASE_DIR }}/${{ env.RELEASE_BIN }}-${{ steps.get_version.outputs.VERSION }}-${{ env.WINDOWS_TARGET }}.tar.gz ./dist
  - name: Create tarball (MacOS)
  if: matrix.build == 'macos'
  - run: 7z a -tzip ./${{ env.RELEASE_DIR }}/${{ env.RELEASE_BIN }}-${{ steps.get_version.outputs.VERSION }}-${{ env.MACOS_TARGET }}.tar.gz ./target/release/${{ env.RELEASE_BIN }} ${{ env.RELEASE_ADDS }}
  + run: |
  + mv ./target/release/${{ env.RELEASE_BIN }} ./dist/${{ env.RELEASE_BIN }} && mv ${{ env.RELEASE_ADDS }} ./dist
  + 7z a -ttar ./${{ env.RELEASE_DIR }}/${{ env.RELEASE_BIN }}-${{ steps.get_version.outputs.VERSION }}-${{ env.MACOS_TARGET }}.tar.gz ./dist
  - name: Create tarball (wranglerjs)
  if: matrix.build == 'wranglerjs'
  