Skip to content

Commit

Permalink
Chocolatey full example
Browse files Browse the repository at this point in the history
  • Loading branch information
faabiosr committed Oct 31, 2022
1 parent ad7fa77 commit fd07e83
Showing 1 changed file with 89 additions and 3 deletions.
92 changes: 89 additions & 3 deletions .goreleaser.yaml
Expand Up @@ -31,19 +31,105 @@ archives:
- goos: windows
format: zip
files:
- LICENSE*
- none*

chocolateys:
- name: 'rand-beer'
-
# Your app's package name.
# The value may not contain spaces or character that are not valid for a URL.
# If you want a good separator for words, use '-', not '.'.
#
# Defaults to `ProjectName`.
name: 'rand-beer'

# IDs of the archives to use.
# Defaults to empty, which includes all artifacts.
ids:
- 'rand-beer'

# Your app's package source url.
# Default is empty.
# package_source_url: https://github.com/faabiosr/chocolatey-packages/tree/main/rand-beer

# Your app's owner.
# It basically means your.
# Defaults empty.
owners: faabiosr

# The app's title.
# A human-friendly title of the package.
# Defaults to `ProjectName`.
title: Rand Beer

# Your app's authors (probably you).
# Defauls are shown below.
authors: faabiosr
project_url: https://github.com/faabiosr/rand-beer

# Your app's project url.
# It is a required field.
project_url: https://github.com/faabiosr/rand-beer/

# Template for the url which is determined by the given Token (github,
# gitlab or gitea)
#
# Default depends on the client.
url_template: "https://github.com/faabiosr/rand-beer/releases/download/{{ .Tag }}/{{ .ArtifactName }}"

# App's icon.
# Default is empty.
icon_url: 'https://rawcdn.githack.com/faabiosr/rand-beer/ad7fa77314374e3537e80600e26efd745ede9864/icon.png'

# Your app's copyright details.
# Default is empty.
copyright: 2022 Fabio Ribeiro

# App's license information url.
license_url: https://github.com/faabiosr/rand-beer/blob/main/LICENSE

# Your apps's require license acceptance:
# Specify whether the client must prompt the consumer to accept the package
# license before installing.
# Default is false.
require_license_acceptance: false

# Your app's source url.
# Default is empty.
project_source_url: https://github.com/faabiosr/rand-beer

# Your app's documentation url.
# Default is empty.
docs_url: https://github.com/faabiosr/rand-beer/blob/main/README.md

# App's bugtracker url.
# Default is empty.
bug_tracker_url: https://github.com/faabiosr/rand-beer/issues

# Your app's tag list.
# Default is empty.
tags: "beer random names"

# Your app's summary:
summary: Generates random beer names

# This the description of your chocolatey package.
# Supports markdown.
description: |
{{ .ProjectName }} generates random beer names every time that you run.
# Your app's release notes.
# A description of the changes made in this release of the package.
# Supports markdown. To prevent the need to continually update this field,
# providing a URL to an external list of Release Notes is perfectly
# acceptable.
#
# Default is empty.
release_notes: "https://github.com/faabiosr/rand-beer/releases/tag/v{{ .Version }}"

# GOAMD64 to specify which amd64 version to use if there are multiple versions
# from the build section.
# Default is v1.
goamd64: v1

checksum:
name_template: 'checksums.txt'
changelog:
Expand Down

0 comments on commit fd07e83

Please sign in to comment.