github.com/argoproj/argo-cd/v3@v3.2.1/.goreleaser.yaml (about)

     1  version: 2
     2  
     3  project_name: argocd
     4  
     5  before:
     6    hooks:
     7      - go mod download
     8      - make build-ui
     9  
    10  builds:
    11    - id: argocd-cli
    12      main: ./cmd
    13      binary: argocd-{{ .Os}}-{{ .Arch}}
    14      env:
    15        - CGO_ENABLED=0
    16      flags:
    17        - -v
    18      ldflags:
    19        - -X github.com/argoproj/argo-cd/v3/common.version={{ .Version }}
    20        - -X github.com/argoproj/argo-cd/v3/common.buildDate={{ .Date }}
    21        - -X github.com/argoproj/argo-cd/v3/common.gitCommit={{ .FullCommit }}
    22        - -X github.com/argoproj/argo-cd/v3/common.gitTreeState={{ .Env.GIT_TREE_STATE }}
    23        - -X github.com/argoproj/argo-cd/v3/common.kubectlVersion={{ .Env.KUBECTL_VERSION }}
    24        - -extldflags="-static"
    25      goos:
    26        - linux
    27        - windows
    28        - darwin
    29      goarch:
    30        - amd64
    31        - arm64
    32        - s390x
    33        - ppc64le
    34      ignore:
    35        - goos: darwin
    36          goarch: s390x
    37        - goos: darwin
    38          goarch: ppc64le
    39        - goos: windows
    40          goarch: s390x
    41        - goos: windows
    42          goarch: ppc64le
    43        - goos: windows
    44          goarch: arm64
    45  
    46  archives:
    47    - id: argocd-archive
    48      ids:
    49        - argocd-cli
    50      name_template: |-
    51        {{ .ProjectName }}-{{ .Os }}-{{ .Arch }}
    52      formats: [binary]
    53  
    54  checksum:
    55    name_template: 'cli_checksums.txt'
    56    algorithm: sha256
    57  
    58  release:
    59    make_latest: '{{ .Env.GORELEASER_MAKE_LATEST }}'
    60    prerelease: auto
    61    draft: false
    62    header: |
    63      ## Quick Start
    64  
    65      ### Non-HA:
    66  
    67      ```shell
    68      kubectl create namespace argocd
    69      kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/{{.Tag}}/manifests/install.yaml
    70      ```
    71  
    72      ### HA:
    73  
    74      ```shell
    75      kubectl create namespace argocd
    76      kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/{{.Tag}}/manifests/ha/install.yaml
    77      ```
    78  
    79      ## Release Signatures and Provenance
    80  
    81      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.
    82  
    83      ## Release Notes Blog Post
    84      For a detailed breakdown of the key changes and improvements in this release, check out the [official blog post](https://blog.argoproj.io/argo-cd-v3-0-release-candidate-a0b933f4e58f)
    85  
    86      ## Upgrading
    87  
    88      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.
    89    footer: |
    90      **Full Changelog**: https://github.com/argoproj/argo-cd/compare/{{ .PreviousTag }}...{{ .Tag }}
    91  
    92      <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>
    93  
    94  snapshot: #### To be removed for PR
    95    version_template: '2.6.0'
    96  
    97  changelog:
    98    use: github
    99    sort: asc
   100    abbrev: 0
   101    groups: # Regex use RE2 syntax as defined here: https://github.com/google/re2/wiki/Syntax.
   102      - title: 'Breaking Changes'
   103        regexp: '^.*?(\([[:word:]]+\))??!:.+$'
   104        order: 0
   105      - title: 'Features'
   106        regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
   107        order: 100
   108      - title: 'Bug fixes'
   109        regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
   110        order: 200
   111      - title: 'Documentation'
   112        regexp: '^.*?docs(\([[:word:]]+\))??!?:.+$'
   113        order: 300
   114      - title: 'Dependency updates'
   115        regexp: '^.*?(feat|fix|chore)\(deps?.+\)!?:.+$'
   116        order: 400
   117      - title: 'Other work'
   118        order: 999
   119    filters:
   120      exclude:
   121        - '^test:'
   122        - '^.*?Bump(\([[:word:]]+\))?.+$'
   123        - '^.*?\[Bot\](\([[:word:]]+\))?.+$'
   124  # yaml-language-server: $schema=https://goreleaser.com/static/schema.json