github.com/ahmet2mir/goreleaser@v0.180.3-0.20210927151101-8e5ee5a9b8c5/www/docs/customization/source.md (about) 1 --- 2 title: Source Archive 3 --- 4 5 You may add the current tag source archive to the release as well. This is particularly 6 useful if you want to sign it, for example. 7 8 ```yaml 9 # .goreleaser.yml 10 source: 11 # Whether this pipe is enabled or not. 12 # Defaults to `false` 13 enabled: true 14 15 # Name template of the final archive. 16 # Defaults to `{{ .ProjectName }}-{{ .Version }}` 17 name_template: '{{ .ProjectName }}' 18 19 # Format of the archive. 20 # Any format git-archive supports, this supports too. 21 # Defaults to `tar.gz` 22 format: 'tar' 23 ``` 24 25 !!! tip 26 Learn more about the [name template engine](/customization/templates/).