Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ on:
type: string
default: ""
description: "Path to a custom WXS file in the caller repo for MSI generation (relative to repo root). If not provided, uses default template."
brew:
required: false
type: boolean
default: true
description: "Whether to publish a Homebrew formula to the public conductorone/homebrew-baton tap."
secrets:
RELENG_GITHUB_TOKEN:
required: true
Expand Down Expand Up @@ -260,6 +265,7 @@ jobs:
working-directory: _workflows
env:
REPO_NAME: ${{ github.event.repository.name }}
BREW_SKIP_UPLOAD: ${{ inputs.brew != true }}
# For provenance predicate template
WORKFLOWS_REF: ${{ needs.determine-workflows-ref.outputs.ref }}
RELEASE_TAG: ${{ inputs.tag }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ The release workflow accepts the following input parameters:
| `docker_extra_files` | No | `""` | Comma-separated list of extra files/dirs to include in Docker build context |
| `msi` | No | `true` | Whether to build MSI Windows installers |
| `msi_wxs_path` | No | `""` | Path to custom WXS template for MSI installer (uses default if not set) |
| `brew` | No | `true` | Whether to publish a Homebrew formula to the public `conductorone/homebrew-baton` tap |

2. Ensure your repository has the following secrets configured:

Expand Down
1 change: 1 addition & 0 deletions templates/.goreleaser-binaries-template.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ brews:
owner: conductorone
name: homebrew-baton
directory: Formula
skip_upload: "${BREW_SKIP_UPLOAD}"
homepage: https://conductorone.com
test: |
system "#{bin}/${REPO_NAME} -v"
Expand Down