diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6cebcd31b..b3da99271 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -146,7 +146,7 @@ jobs: - run: | for OS in Linux macOS do - tar -czf haskell-language-server-$OS-${{ github.event.release.tag_name }}.gz haskell-language-server-$OS-*.gz + tar -czf haskell-language-server-$OS-${{ github.event.release.tag_name }}.tar.gz haskell-language-server-$OS-*.gz done - uses: actions/upload-release-asset@v1.0.2 @@ -154,8 +154,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: haskell-language-server-macOS-${{ github.event.release.tag_name }}.gz - asset_name: haskell-language-server-macOS-${{ github.event.release.tag_name }}.gz + asset_path: haskell-language-server-macOS-${{ github.event.release.tag_name }}.tar.gz + asset_name: haskell-language-server-macOS-${{ github.event.release.tag_name }}.tar.gz asset_content_type: application/gzip - uses: actions/upload-release-asset@v1.0.2 @@ -163,6 +163,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ github.event.release.upload_url }} - asset_path: haskell-language-server-Linux-${{ github.event.release.tag_name }}.gz - asset_name: haskell-language-server-Linux-${{ github.event.release.tag_name }}.gz + asset_path: haskell-language-server-Linux-${{ github.event.release.tag_name }}.tar.gz + asset_name: haskell-language-server-Linux-${{ github.event.release.tag_name }}.tar.gz asset_content_type: application/gzip diff --git a/docs/releases.md b/docs/releases.md index b6755dd4d..35143defc 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -73,7 +73,7 @@ we make sure to upload them as their full name variant. ### ghcup Ghcup can install hls binaries, provided that there is a tarfile -called `haskell-language-server-{macOS,Linux}-$HLS_VERSION.gz` +called `haskell-language-server-{macOS,Linux}-$HLS_VERSION.tar.gz` included in the GitHub release. The `tar` job in the workflow file automates the creation of this. ### Windows