Skip to content

feat: add build.post_process to recipe-format schema - #77

Merged
wolfv merged 1 commit into
prefix-dev:mainfrom
mohitdebian:docs-post-process-spec
Jun 30, 2026
Merged

feat: add build.post_process to recipe-format schema#77
wolfv merged 1 commit into
prefix-dev:mainfrom
mohitdebian:docs-post-process-spec

Conversation

@mohitdebian

Copy link
Copy Markdown
Contributor

Adds build.post_process to the canonical recipe-format schema.

This aligns the recipe specification with functionality already implemented
in rattler-build, where build.post_process allows regex-based text
replacements on files during packaging.

The schema introduces a PostProcess object with required fields:

  • files
  • regex
  • replacement

Includes a valid example recipe and schema validation tests.

Follow-up to the documentation merged in rattler-build.

@mohitdebian

Copy link
Copy Markdown
Contributor Author

This follows up on the documentation added in prefix-dev/rattler-build#2254

@mohitdebian

Copy link
Copy Markdown
Contributor Author

@wolfv this is the follow up PR adding build.post_process to the recipe-format schema as suggested in prefix-dev/rattler-build#2254. CI is waiting for workflow approval

The build.post_process schema was already merged in prefix-dev#79. This keeps the
remaining valuable part of the original PR: a validated example recipe
demonstrating regex-based post-processing, wired into the test suite.

Co-Authored-By: Wolf Vollprecht <hi@prefix.dev>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@wolfv
wolfv force-pushed the docs-post-process-spec branch from 2eaa568 to a667e56 Compare June 30, 2026 13:57
@wolfv
wolfv merged commit eb34a9c into prefix-dev:main Jun 30, 2026
4 checks passed
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.

2 participants