Skip to content

Commit

Permalink
build: Fix gitignore. (#465)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
betterengineering authored Oct 29, 2022
1 parent 402abc5 commit 239072c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ examples/*.gif

# Pixlet Binary
pixlet
pixlet.exe

# Releases
build/
Expand Down
2 changes: 0 additions & 2 deletions .goreleaser/fetch-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 239072c

Please sign in to comment.