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

chore: docs formatting

This commit is contained in:
Carlos Alexandro Becker 2018-05-06 09:19:14 -03:00
parent ac206f8442
commit f06bab0ef9
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -50,12 +50,12 @@ dist: another-folder-that-is-not-dist
## Using the `main.version`
Default wise GoReleaser sets three _ldflags_:
Default wise GoReleaser sets three _ldflags_:
- `main.version`: Current Git tag (the `v` prefix is stripped) or the name of
the snapshot, if you're using the `--snapshot` flag
- `main.commit`: Current git commit SHA
- `main.date`: Date according [RFC3339](https://golang.org/pkg/time/#pkg-constants)
* `main.version`: Current Git tag (the `v` prefix is stripped) or the name of
the snapshot, if you're using the `--snapshot` flag
* `main.commit`: Current git commit SHA
* `main.date`: Date according [RFC3339](https://golang.org/pkg/time/#pkg-constants)
You can use it in your `main.go` file: