Skip to content

chore: add and harden Apache release tooling - #156

Open
zjw1111 wants to merge 5 commits into
apache:mainfrom
zjw1111:codex/fix-pre-commit-cmake-format
Open

chore: add and harden Apache release tooling#156
zjw1111 wants to merge 5 commits into
apache:mainfrom
zjw1111:codex/fix-pre-commit-cmake-format

Conversation

@zjw1111

@zjw1111 zjw1111 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Purpose

Linked issue: N/A

Prepare Apache Paimon C++ for its first Apache source release:

  • apply the cmake-format result required by the post-merge pre-commit workflow
  • replace GNU sed-only version parsing with portable POSIX awk parsing
  • add version metadata validation and deterministic source archive auditing
  • verify checksums, signatures, licenses, archive safety, build, tests, installation, and external CMake consumption
  • add guarded RC staging and approved-release publishing scripts
  • add a release-candidate workflow covering archive auditing, GCC 14, and Clang
  • document ASF signing, voting, publication, and Paimon announcement requirements

The release orchestration validates that the candidate commit is contained in
the Apache release branch, waits for tag-triggered CI before uploading to
dist/dev, prevents --prepare-only runs from printing a vote email, and
supports resumable publication without overwriting release artifacts.

Tests

  • pre-commit run --all-files
  • bash -n scripts/releasing/*.sh ci/scripts/build_paimon.sh
  • python3 -m unittest discover -s scripts/releasing/tests -v
  • git diff --check
  • created and audited the 0.2.3 source archive
  • completed release build and all 25 tests from the extracted archive
  • installed the release and built and ran an external CMake consumer

API and Format

No API, storage format, or protocol changes.

Documentation

Expanded scripts/releasing/README.md with the complete Apache release
preparation, verification, voting, publication, and announcement workflow.

Generative AI tooling

Generated-by: Codex (GPT-5)

@zjw1111 zjw1111 changed the title style: apply cmake-format to examples fix: correct formatting and release version parsing Jul 24, 2026

@lxy-9602 lxy-9602 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@zjw1111 zjw1111 changed the title fix: correct formatting and release version parsing chore: add and harden Apache release tooling Jul 28, 2026
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