Skip to content

Commit 99a1776

Browse files
committed
Update releases to have only zip files, and not tar.gz
This is to be able to unzip the files from the Godot editor to support auto-install through an addon moving forward
1 parent f2457b4 commit 99a1776

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,14 @@ jobs:
7676
fi
7777
shell: bash
7878

79-
- name: Compress (Linux and macOS)
80-
if: matrix.os != 'windows-latest'
81-
run: tar -czf ${{ matrix.name }}.tar.gz ${{ matrix.name }}
82-
83-
- name: Compress (Windows)
84-
if: matrix.os == 'windows-latest'
85-
run: 7z a ${{ matrix.name }}.zip ${{ matrix.name }}
79+
- name: Compress to ZIP (All platforms)
80+
run: |
81+
if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
82+
7z a ${{ matrix.name }}.zip ${{ matrix.name }}
83+
else
84+
zip ${{ matrix.name }}.zip ${{ matrix.name }}
85+
fi
86+
shell: bash
8687

8788
- name: Create/Update Release
8889
uses: softprops/action-gh-release@v2
@@ -91,7 +92,6 @@ jobs:
9192
body: |
9293
A fast code formatter for GDScript in Godot 4.
9394
files: |
94-
*.tar.gz
9595
*.zip
9696
draft: false
9797
prerelease: false

0 commit comments

Comments
 (0)