diff --git a/cmd/anchor/.goreleaser.yaml b/cmd/anchor/.goreleaser.yaml index 7973aba..a91722e 100644 --- a/cmd/anchor/.goreleaser.yaml +++ b/cmd/anchor/.goreleaser.yaml @@ -1,3 +1,5 @@ +# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json + project_name: anchor before: @@ -15,15 +17,15 @@ builds: - CGO_ENABLED=0 id: linux goos: [linux] - goarch: [amd64,arm64,386] + goarch: ['amd64','arm64','386'] - <<: *build_defaults id: macos goos: [darwin] - goarch: [amd64,arm64] + goarch: ['amd64','arm64'] - <<: *build_defaults id: windows goos: [windows] - goarch: [amd64,386] + goarch: ['amd64','386'] archives: - id: linux @@ -67,6 +69,7 @@ msi: wxs: ./windows/app.wxs extra_files: - ./windows/als2.ico + - ../../LICENSE mod_timestamp: "{{ .CommitTimestamp }}" chocolateys: @@ -95,3 +98,38 @@ chocolateys: release_notes: "https://github.com/anchordotdev/cli/releases/tag/v{{ .Version }}" api_key: "{{ .Env.CHOCOLATEY_API_KEY }}" source_repo: "https://push.chocolatey.org/" + +winget: + - name: anchor + publisher: AnchorSecurity + short_description: "Command-line tools for Anchor.dev" + license: mit + publisher_url: https://anchor.dev + publisher_support_url: https://github.com/anchordotdev/cli/issues + package_identifier: anchor.cli + ids: + - anchor-msi + use: msi + product_code: C5F94F62-E3CC-48E2-AB3C-4DED8C6099E9 + url_template: "https://github.com/anchordotdev/cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}" + homepage: https://anchor.dev + description: | + anchor is a command line interface for the Anchor certificate management platform. + It provides a developer friendly interface for certificate management. + license_url: https://raw.githubusercontent.com/anchordotdev/cli/main/LICENSE + copyright: 2024 Anchor Security, Inc. + skip_upload: true + release_notes: "{{.Changelog}}" + release_notes_url: "https://github.com/anchordotdev/cli/releases/tag/v{{ .Version }}" + tags: ["security", "tls", "ssl", "certificates", "localhost", "https", "cryptography", "encryption", "acme", "cli", "x509", "X.509"] + repository: + owner: anchordotdev + name: winget-packages + branch: "{{.ProjectName}}-{{.Version}}" + pull_request: + enabled: true + check_boxes: true + base: + owner: microsoft + name: winget-pkgs + branch: master