1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs: little formatting improvements

This commit is contained in:
Carlos Alexandro Becker 2024-01-17 09:33:58 -03:00
parent 5d44ed14fd
commit d15dab3a79
No known key found for this signature in database
9 changed files with 13 additions and 14 deletions

View File

@ -161,7 +161,7 @@ aurs:
#
# Default: .
# Templates: allowed
# Since: v1.23.
# Since: v1.23
url_template: "http://github.mycompany.com/foo/bar/releases/{{ .Tag }}/{{ .ArtifactName }}"
```

View File

@ -24,7 +24,7 @@ git:
# provided values as either previous or current tags.
#
# Templates: allowed.
# Since: v1.21.
# Since: v1.21
ignore_tags:
- nightly
- "{{.Env.IGNORE_TAG}}"

View File

@ -167,7 +167,7 @@ brews:
# Additional install instructions so you don't need to override `install`.
#
# Template: allowed
# Since: v1.20.
# Since: v1.20
extra_install: |
bash_completion.install "completions/foo.bash" => "foo"
man1.install "man/foo.1.gz"

View File

@ -330,7 +330,7 @@ nfpms:
# Prefixes for relocatable packages.
#
# Since: v1.20.
# Since: v1.20
prefixes:
- /usr/bin
@ -469,8 +469,7 @@ You can go around that with something like this:
```yaml
# .goreleaser.yaml
nfpms:
-
# ...
- # ...
file_name_template: >-
{{- trimsuffix .ConventionalFileName .ConventionalExtension -}}
{{- if and (eq .Arm "6") (eq .ConventionalExtension ".deb") }}6{{ end -}}

View File

@ -76,7 +76,7 @@ nix:
# Runtime dependencies of the package.
#
# Since: v1.20.
# Since: v1.20
dependencies:
- zsh
- chromium

View File

@ -79,7 +79,7 @@ release:
# Available only for GitHub.
#
# Default is true.
# Since: v1.20.
# Since: v1.20
make_latest: true
# What to do with the release notes in case there the release already exists.

View File

@ -43,13 +43,13 @@ snapcrafts:
# The canonical title of the application, displayed in the software
# centre graphical frontends.
#
# Since: v1.19.
# Since: v1.19
title: Drum Roll
# Path to icon image that represents the snap in the snapcraft.io store
# pages and other graphical store fronts.
#
# Since: v1.19.
# Since: v1.19
icon: ./icon.png
# Whether to publish the snap to the snapcraft store.
@ -119,14 +119,14 @@ snapcrafts:
# A list of features that must be supported by the core in order for
# this snap to install.
#
# Since: v1.19.
# Since: v1.19
assumes:
- snapd2.38
# his top-level keyword to define a hook with a plug to access more
# privileges.
#
# Since: v1.19.
# Since: v1.19
hooks:
install:
- network

View File

@ -40,7 +40,7 @@ universal_binaries:
# empty string to skip modifying the output.
#
# Templates: allowed.
# Since: v1.20.
# Since: v1.20
mod_timestamp: "{{ .CommitTimestamp }}"
# Hooks can be used to customize the final binary,

View File

@ -38,7 +38,7 @@
# If the pull request template has checkboxes, enabling this will
# check all of them.
#
# Since: v1.20 (pro).
# Since: v1.20 (pro)
# This feature is only available in GoReleaser Pro.
check_boxes: true