Skip to content

Commit c8e3707

Browse files
docs: add WinGet package to README as alternative source (#313)
* docs: add WinGet package to README as alternative source * ci: remove WinGet publishing * style: format release notes script * readme: specify winget package is also community maintained --------- Co-authored-by: Nathan Lovato <12694995+NathanLovato@users.noreply.github.com>
1 parent eafd8f0 commit c8e3707

2 files changed

Lines changed: 4 additions & 28 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -138,29 +138,4 @@ jobs:
138138
env:
139139
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
140140
shell: bash
141-
142-
winget:
143-
name: Publish to WinGet
144-
runs-on: windows-latest
145-
needs: publish-release
146-
permissions:
147-
contents: read
148-
pull-requests: write
149-
steps:
150-
- name: Setup WingetCreate
151-
run: curl.exe -L https://aka.ms/wingetcreate/latest -o wingetcreate.exe
152-
shell: pwsh
153-
154-
- name: Publish to WinGet
155-
run: |
156-
$version = "${{ github.ref_name }}"
157-
158-
$urls = @(
159-
"https://github.com/GDQuest/GDScript-formatter/releases/download/$version/gdscript-formatter-$version-windows-x86_64.exe.zip|x64",
160-
"https://github.com/GDQuest/GDScript-formatter/releases/download/$version/gdscript-formatter-$version-windows-aarch64.exe.zip|arm64"
161-
)
162-
163-
.\wingetcreate.exe update GDQuest.GDScript.Formatter --version $version --urls $urls --submit
164-
env:
165-
WINGET_CREATE_GITHUB_TOKEN: ${{ secrets.WINGET_PAT }}
166-
shell: pwsh
141+

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ You can find binaries for Windows, macOS, and Linux in the [releases tab](https:
3636

3737
**Alternative sources:**
3838

39-
- **Arch Linux:** Community maintained AUR Package [gdscript-formatter-bin](https://aur.archlinux.org/packages/gdscript-formatter-bin).
40-
- **Windows:** Community maintained Scoop package (`scoop install` [`extras/gdscript-formatter`](https://github.com/ScoopInstaller/Extras/blob/master/bucket/gdscript-formatter.json))
39+
- **Arch Linux:** Community maintained AUR package [gdscript-formatter-bin](https://aur.archlinux.org/packages/gdscript-formatter-bin).
40+
- **Windows:** Community maintained Scoop package (`scoop install` [`extras/gdscript-formatter`](https://github.com/ScoopInstaller/Extras/blob/master/bucket/gdscript-formatter.json)).
41+
- **Windows:** Community maintained WinGet package (`winget install` `GDQuest.GDScript.Formatter`).
4142
- **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.
4243

4344
To recursively format all GDScript files in the current folder, run:

0 commit comments

Comments
 (0)