From 3ca2a6cd267f373aae19f59e1cf9e04b6524eff3 Mon Sep 17 00:00:00 2001 From: Luke Lau Date: Sat, 3 Oct 2020 19:33:03 +0100 Subject: [PATCH] Rename tarfile extensions to .tar.gz --- .github/workflows/build.yml | 10 +++++----- docs/releases.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) 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