From 239072c3ff5e97535fd2a5f808d20bf891c9ad20 Mon Sep 17 00:00:00 2001 From: Mark Spicer Date: Sat, 29 Oct 2022 14:25:30 -0400 Subject: [PATCH] build: Fix gitignore. (#465) This commit should actually resolve the dirty state issue with goreleaser. It wasn't that the directory was left behind, it was that the directory existed when goreleaser started. The reason the others were ok was because these directories only have one file. However, we never ignored the `.exe` version of pixlet. --- .gitignore | 1 + .goreleaser/fetch-artifacts.sh | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 22292d3a17..8fde2b3d47 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ examples/*.gif # Pixlet Binary pixlet +pixlet.exe # Releases build/ diff --git a/.goreleaser/fetch-artifacts.sh b/.goreleaser/fetch-artifacts.sh index a4f63919b1..01a38bdfbb 100755 --- a/.goreleaser/fetch-artifacts.sh +++ b/.goreleaser/fetch-artifacts.sh @@ -10,6 +10,4 @@ for dist in "darwin_amd64" "linux_amd64" "darwin_arm64" "linux_arm64" "windows_a cp "$dist/pixlet" "out/pixlet_$dist/pixlet" chmod +x "out/pixlet_$dist/pixlet" fi - - rm -rf "$dist" done \ No newline at end of file