1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

docs: removed docs about deprecated option

This commit is contained in:
Carlos Alexandro Becker 2018-10-04 23:42:16 -03:00
parent 5c63f88290
commit f99940ff53
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -82,16 +82,3 @@ func main() {
```
You can override this by changing the `ldflags` option in the `build` section.
## Customizing Git
By default, GoReleaser uses full length commit hashes when setting a `main.commit`
_ldflag_ or creating filenames in `--snapshot` mode.
You can use short, 7 character long commit hashes by setting it in the `.goreleaser.yml`:
```yaml
# .goreleaser.yml
git:
short_hash: true
```