.gitignore: add release build directory to ignore list

Fixes #6672.
A new metadata tag called build.vcs.modified was added in Go 1.18.x that
indicates whether there were any untracked files present during the
build or not.
Because the `make release` command creates a directory in which the
output packages are created, and because that directory was not added
to git and also not ignored by it, the build.vcs.modified flag was
different to the docker build which resulted in a different digest of
the resulting binary.
This commit is contained in:
Oliver Gugger 2022-06-27 16:40:06 +02:00
parent 0df880139f
commit 64b3c97b9f
No known key found for this signature in database
GPG key ID: 8E4256593F177720

4
.gitignore vendored
View file

@ -77,3 +77,7 @@ coverage.txt
# Visual Studio cache/options directory
.vs/
# Release build directory (to avoid build.vcs.modified Golang build tag to be
# set to true by having untracked files in the working directory).
/lnd-*/