github.com/argoproj/argo-cd/v2@v2.10.9/.goreleaser.yaml (about)

     1  project_name: argocd
     2  
     3  before:
     4    hooks:
     5      - go mod download
     6      - make build-ui
     7  
     8  builds:
     9    - id: argocd-cli
    10      main: ./cmd
    11      binary: argocd-{{ .Os}}-{{ .Arch}}
    12      env:
    13        - CGO_ENABLED=0
    14      flags:
    15        - -v
    16      ldflags:
    17        - -X github.com/argoproj/argo-cd/v2/common.version={{ .Version }}
    18        - -X github.com/argoproj/argo-cd/v2/common.buildDate={{ .Date }}
    19        - -X github.com/argoproj/argo-cd/v2/common.gitCommit={{ .FullCommit }}
    20        - -X github.com/argoproj/argo-cd/v2/common.gitTreeState={{ .Env.GIT_TREE_STATE }}
    21        - -X github.com/argoproj/argo-cd/v2/common.kubectlVersion={{ .Env.KUBECTL_VERSION }}
    22        - -extldflags="-static"
    23      goos:
    24        - linux
    25        - darwin
    26        - windows
    27      goarch:
    28        - amd64
    29        - arm64
    30        - s390x
    31        - ppc64le
    32      ignore:
    33        - goos: darwin
    34          goarch: s390x
    35        - goos: darwin
    36          goarch: ppc64le
    37        - goos: windows
    38          goarch: s390x
    39        - goos: windows
    40          goarch: ppc64le
    41        - goos: windows
    42          goarch: arm64
    43  
    44  archives:
    45    - id: argocd-archive
    46      builds:
    47      - argocd-cli
    48      name_template: |-
    49        {{ .ProjectName }}-{{ .Os }}-{{ .Arch }}
    50      format: binary
    51  
    52  checksum:
    53    name_template: 'cli_checksums.txt'
    54    algorithm: sha256
    55  
    56  release:
    57    prerelease: auto
    58    draft: false
    59    header: |
    60      ## Quick Start
    61  
    62      ### Non-HA:
    63  
    64      ```shell
    65      kubectl create namespace argocd
    66      kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/{{.Tag}}/manifests/install.yaml
    67      ```
    68  
    69      ### HA:
    70  
    71      ```shell
    72      kubectl create namespace argocd
    73      kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/{{.Tag}}/manifests/ha/install.yaml
    74      ```
    75  
    76      ## Release Signatures and Provenance
    77  
    78      All Argo CD container images are signed by cosign.  A Provenance is generated for container images and CLI binaries which meet the SLSA Level 3 specifications. See the [documentation](https://argo-cd.readthedocs.io/en/stable/operator-manual/signed-release-assets) on how to verify.
    79  
    80  
    81      ## Upgrading
    82  
    83      If upgrading from a different minor version, be sure to read the [upgrading](https://argo-cd.readthedocs.io/en/stable/operator-manual/upgrading/overview/) documentation.
    84    footer: |
    85      **Full Changelog**: https://github.com/argoproj/argo-cd/compare/{{ .PreviousTag }}...{{ .Tag }}
    86      
    87      <a href="https://argoproj.github.io/cd/"><img src="https://raw.githubusercontent.com/argoproj/argo-site/master/content/pages/cd/gitops-cd.png" width="25%" ></a>
    88  
    89  
    90  snapshot: #### To be removed for PR
    91    name_template: "2.6.0"
    92  
    93  changelog:
    94    use:
    95      github
    96    sort: asc
    97    abbrev: 0
    98    groups: # Regex use RE2 syntax as defined here: https://github.com/google/re2/wiki/Syntax.
    99      - title: 'Features'
   100        regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
   101        order: 100
   102      - title: 'Bug fixes'
   103        regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
   104        order: 200
   105      - title: 'Documentation'
   106        regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
   107        order: 300
   108      - title: 'Dependency updates'
   109        regexp: '^.*?(feat|fix|chore)\(deps?.+\)!?:.+$'
   110        order: 400
   111      - title: 'Other work'
   112        order: 999
   113    filters:
   114      exclude:
   115        - '^test:'
   116        - '^.*?Bump(\([[:word:]]+\))?.+$'
   117        - '^.*?[Bot](\([[:word:]]+\))?.+$'
   118  
   119  
   120  # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
   121