From a65156511a5833586019029b929af0f2c36f7561 Mon Sep 17 00:00:00 2001 From: Grzegorz Dlugoszewski Date: Mon, 25 Aug 2025 18:16:19 +0200 Subject: [PATCH] Disable unsupported post_uninstall script in Scoop config --- .goreleaser.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 0064c1a..dfe9b07 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -126,7 +126,12 @@ scoops: post_install: [ "New-Item -ItemType HardLink -Path \"$dir\\git-list.exe\" -Target \"$dir\\git-get.exe\" -Force | Out-Null", "scoop shim add git-list \"$dir\\git-list.exe\"" - ], - post_uninstall: [ - "scoop shim rm git-list" ] + + # goreleaser doesn't support pre/post uninstall scripts yet + # https://goreleaser.com/customization/scoop/ + # https://github.com/ScoopInstaller/Scoop/wiki/Pre-Post-(un)install-scripts + # + # post_uninstall: [ + # "scoop shim rm git-list" + # ]