Skip to content

Publish bundle jsonschema.json as a release asset#5083

Open
janniklasrose wants to merge 1 commit intomainfrom
janniklasrose/publish-jsonschema-in-release
Open

Publish bundle jsonschema.json as a release asset#5083
janniklasrose wants to merge 1 commit intomainfrom
janniklasrose/publish-jsonschema-in-release

Conversation

@janniklasrose
Copy link
Copy Markdown
Contributor

@janniklasrose janniklasrose commented Apr 24, 2026

Summary

  • Upload bundle/schema/jsonschema.json (the output of databricks bundle schema) as a GitHub release asset via goreleaser's release.extra_files.
  • Motivation: we want to register the bundle JSON schema in SchemaStore pointing at a stable "latest" release URL (https://github.com/databricks/cli/releases/latest/download/jsonschema.json). Publishing as a release asset gives us that URL so SchemaStore doesn't need to be updated on every CLI release.

Test plan

  • Verify goreleaser config parses (goreleaser check if available locally, otherwise rely on the release workflow).
% goreleaser check
  • checking                                  path=.goreleaser.yaml
  • 1 configuration file(s) validated
  • thanks for using GoReleaser!
  • After the next tagged release, confirm jsonschema.json appears as a release asset and that https://github.com/databricks/cli/releases/latest/download/jsonschema.json resolves to it.

This pull request and its description were written by Isaac.

@github-actions
Copy link
Copy Markdown

Waiting for approval

Based on git history, these people are best suited to review:

  • @pietern -- recent work in ./

Eligible reviewers: @andrewnester, @anton-107, @denik, @renaudhartert-db, @shreyas-goenka, @simonfaltum

Suggestions based on git history. See OWNERS for ownership rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant