Rename tarfile extensions to .tar.gz

This commit is contained in:
Luke Lau 2020-10-03 19:33:03 +01:00
parent 2d8551db5c
commit 3ca2a6cd26
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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