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:
parent
5c63f88290
commit
f99940ff53
@ -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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user