Skip to content

Commit

Permalink
chore: release aqua to winget
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Nov 17, 2023
1 parent 94d9f36 commit ed61c3c
Show file tree
Hide file tree
Showing 2 changed files with 129 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
secrets:
gh_app_id: ${{secrets.APP_ID}}
gh_app_private_key: ${{secrets.APP_PRIVATE_KEY}}
winget_github_token: ${{secrets.WINGET_GITHUB_TOKEN}}
permissions:
contents: write
id-token: write
Expand Down
128 changes: 128 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,131 @@ scoops:
owner: aquaproj
name: scoop-bucket
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"

winget:
- publisher: aquaproj
short_description: Declarative CLI Version manager written in Go
license: mit

# Publisher URL.
#
# Templates: allowed
# publisher_url: https://goreleaser.com

publisher_support_url: https://github.com/aquaproj/aqua/discussions

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

# URL which is determined by the given Token (github, gitlab or gitea).
#
# Default depends on the client.
# Templates: allowed
url_template: "https://github.com/aquaproj/aqua/releases/download/{{ .Tag }}/{{ .ArtifactName }}"

# Git author used to commit to the repository.
# commit_author:
# name: Shunsuke Suzuki
# email: [email protected]

# The project name and current git tag are used in the format string.
#
# Templates: allowed
# commit_msg_template: "{{ .PackageIdentifier }}: {{ .Tag }}"

# Path for the file inside the repository.
#
# Default: manifests/<lowercased first char of publisher>/<publisher>/<version>
# path: manifests/g/goreleaser/1.19

homepage: https://github.com/aquaproj/aqua

# Your app's long description.
#
# Templates: allowed
description: |
Declarative CLI Version manager written in Go.
Support Lazy Install, Registry, and continuous update by Renovate.
CLI version is switched seamlessly
# License URL.
#
# Templates: allowed
license_url: https://github.com/aquaproj/aqua/blob/main/LICENSE

# Copyright.
#
# Templates: allowed
# copyright: ""

# Copyright URL.
#
# Templates: allowed
# copyright_url: ""

# Setting this will prevent goreleaser to actually try to commit the updated
# package - instead, it will be stored on the dist folder only,
# leaving the responsibility of publishing it to the user.
#
# If set to auto, the release will not be uploaded to the repository
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
#
# Templates: allowed
skip_upload: "auto"

# Release notes.
#
# If you want to use the release notes generated by GoReleaser, use
# `{{.Changelog}}` as the value.
#
# Templates: allowed
# release_notes: "{{.Changelog}}"

# Release notes URL.
#
# Templates: allowed
release_notes_url: https://github.com/aquaproj/aqua/releases/tag/{{.Tag}}

# Tags.
# tags:
# -

# Repository to push the generated files to.
repository:
owner: suzuki-shunsuke
# owner: mini-core
name: winget-pkgs

token: "{{ .Env.WINGET_GITHUB_TOKEN }}"

# Optionally a branch can be provided.
#
# Default: default repository branch
# Templates: allowed
branch: "aqua-{{.Version}}"

# Sets up pull request creation instead of just pushing to the given branch.
# Make sure the 'branch' property is different from base before enabling
# it.
#
# Since: v1.17
pull_request:
# Whether to enable it or not.
enabled: true

# Whether to open the PR as a draft or not.
#
# Since: v1.19
draft: true

# Base can also be another repository, in which case the owner and name
# above will be used as HEAD, allowing cross-repository pull requests.
#
# Since: v1.19
base:
owner: microsoft
# owner: mini-core
name: winget-pkgs

0 comments on commit ed61c3c

Please sign in to comment.