Skip to content

Commit

Permalink
docs: little formatting improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jan 17, 2024
1 parent 5d44ed1 commit d15dab3
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion www/docs/customization/aur.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
```

Expand Down
2 changes: 1 addition & 1 deletion www/docs/customization/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
Expand Down
2 changes: 1 addition & 1 deletion www/docs/customization/homebrew.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions www/docs/customization/nfpm.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ nfpms:

# Prefixes for relocatable packages.
#
# Since: v1.20.
# Since: v1.20
prefixes:
- /usr/bin

Expand Down Expand Up @@ -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 -}}
Expand Down
2 changes: 1 addition & 1 deletion www/docs/customization/nix.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ nix:

# Runtime dependencies of the package.
#
# Since: v1.20.
# Since: v1.20
dependencies:
- zsh
- chromium
Expand Down
2 changes: 1 addition & 1 deletion www/docs/customization/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions www/docs/customization/snapcraft.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion www/docs/customization/universalbinaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion www/docs/includes/repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d15dab3

Please sign in to comment.