From 92b74e29574dffb0830c21b3d70aa14690ba8f21 Mon Sep 17 00:00:00 2001 From: DevTwilight Date: Thu, 30 Jul 2026 12:00:48 +0530 Subject: [PATCH 1/4] docs: add WinGet package to README as alternative source --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index be6cfb4..a0a5804 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,9 @@ You can find binaries for Windows, macOS, and Linux in the [releases tab](https: **Alternative sources:** -- **Arch Linux:** Community maintained AUR Package [gdscript-formatter-bin](https://aur.archlinux.org/packages/gdscript-formatter-bin). -- **Windows:** Community maintained Scoop package (`scoop install` [`extras/gdscript-formatter`](https://github.com/ScoopInstaller/Extras/blob/master/bucket/gdscript-formatter.json)) +- **Arch Linux:** Community maintained AUR package [gdscript-formatter-bin](https://aur.archlinux.org/packages/gdscript-formatter-bin). +- **Windows:** Community maintained Scoop package (`scoop install` [`extras/gdscript-formatter`](https://github.com/ScoopInstaller/Extras/blob/master/bucket/gdscript-formatter.json)). +- **Windows:** WinGet package (`winget install` `GDQuest.GDScript.Formatter`). - **GitHub Actions:** Community maintained [setup-gdscript-formatter](https://github.com/Modern-Arts-Research-Stories-Next/setup-gdscript-formatter) action for installing the formatter in GitHub Actions workflows. To recursively format all GDScript files in the current folder, run: From ca5f228294db0434534f10c7b84149a50c6b4304 Mon Sep 17 00:00:00 2001 From: DevTwilight Date: Sun, 20 Sep 2026 10:46:23 +0530 Subject: [PATCH 2/4] ci: remove WinGet publishing --- .github/workflows/release.yml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 250096d..d3c6582 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,29 +138,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash - - winget: - name: Publish to WinGet - runs-on: windows-latest - needs: publish-release - permissions: - contents: read - pull-requests: write - steps: - - name: Setup WingetCreate - run: curl.exe -L https://aka.ms/wingetcreate/latest -o wingetcreate.exe - shell: pwsh - - - name: Publish to WinGet - run: | - $version = "${{ github.ref_name }}" - - $urls = @( - "https://github.com/GDQuest/GDScript-formatter/releases/download/$version/gdscript-formatter-$version-windows-x86_64.exe.zip|x64", - "https://github.com/GDQuest/GDScript-formatter/releases/download/$version/gdscript-formatter-$version-windows-aarch64.exe.zip|arm64" - ) - - .\wingetcreate.exe update GDQuest.GDScript.Formatter --version $version --urls $urls --submit - env: - WINGET_CREATE_GITHUB_TOKEN: ${{ secrets.WINGET_PAT }} - shell: pwsh \ No newline at end of file + \ No newline at end of file From 47fd71438b50c96f10536dc87a5d552c7d31ca5e Mon Sep 17 00:00:00 2001 From: DevTwilight Date: Sun, 20 Sep 2026 10:51:07 +0530 Subject: [PATCH 3/4] style: format release notes script --- .github/generate_release_notes.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/generate_release_notes.py b/.github/generate_release_notes.py index 5e88471..73cbce9 100644 --- a/.github/generate_release_notes.py +++ b/.github/generate_release_notes.py @@ -1,5 +1,6 @@ import re + def main() -> None: """Generate release notes for the latest GitHub release.""" @@ -10,12 +11,14 @@ def main() -> None: if first_section is None: raise RuntimeError("Could not find the first changelog section.") - next_release = re.search(r"^## ", changelog[first_section.start():], re.MULTILINE) + next_release = re.search(r"^## ", changelog[first_section.start() :], re.MULTILINE) if next_release is None: raise RuntimeError("Could not find the next release heading.") - latest_changes = changelog[first_section.start() : first_section.start() + next_release.start()].strip() + latest_changes = changelog[ + first_section.start() : first_section.start() + next_release.start() + ].strip() release_notes = f"""A fast code formatter for GDScript in Godot 4. @@ -28,5 +31,6 @@ def main() -> None: print(release_notes) + if __name__ == "__main__": - main() \ No newline at end of file + main() From 09d7d761aa6eb0a6fae3e2b386b30bc03586b3fe Mon Sep 17 00:00:00 2001 From: Nathan Lovato <12694995+NathanLovato@users.noreply.github.com> Date: Sun, 20 Sep 2026 16:39:41 +0200 Subject: [PATCH 4/4] readme: specify winget package is also community maintained --- .github/generate_release_notes.py | 10 +++------- README.md | 2 +- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/generate_release_notes.py b/.github/generate_release_notes.py index 73cbce9..5e88471 100644 --- a/.github/generate_release_notes.py +++ b/.github/generate_release_notes.py @@ -1,6 +1,5 @@ import re - def main() -> None: """Generate release notes for the latest GitHub release.""" @@ -11,14 +10,12 @@ def main() -> None: if first_section is None: raise RuntimeError("Could not find the first changelog section.") - next_release = re.search(r"^## ", changelog[first_section.start() :], re.MULTILINE) + next_release = re.search(r"^## ", changelog[first_section.start():], re.MULTILINE) if next_release is None: raise RuntimeError("Could not find the next release heading.") - latest_changes = changelog[ - first_section.start() : first_section.start() + next_release.start() - ].strip() + latest_changes = changelog[first_section.start() : first_section.start() + next_release.start()].strip() release_notes = f"""A fast code formatter for GDScript in Godot 4. @@ -31,6 +28,5 @@ def main() -> None: print(release_notes) - if __name__ == "__main__": - main() + main() \ No newline at end of file diff --git a/README.md b/README.md index a0a5804..9e33c14 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ You can find binaries for Windows, macOS, and Linux in the [releases tab](https: - **Arch Linux:** Community maintained AUR package [gdscript-formatter-bin](https://aur.archlinux.org/packages/gdscript-formatter-bin). - **Windows:** Community maintained Scoop package (`scoop install` [`extras/gdscript-formatter`](https://github.com/ScoopInstaller/Extras/blob/master/bucket/gdscript-formatter.json)). -- **Windows:** WinGet package (`winget install` `GDQuest.GDScript.Formatter`). +- **Windows:** Community maintained WinGet package (`winget install` `GDQuest.GDScript.Formatter`). - **GitHub Actions:** Community maintained [setup-gdscript-formatter](https://github.com/Modern-Arts-Research-Stories-Next/setup-gdscript-formatter) action for installing the formatter in GitHub Actions workflows. To recursively format all GDScript files in the current folder, run: