Skip to content

[codex] Keep thrift prebuilt artifacts under target#74

Merged
HTHou merged 1 commit into
mainfrom
codex/thrift-prebuilt-target-dir
Jun 15, 2026
Merged

[codex] Keep thrift prebuilt artifacts under target#74
HTHou merged 1 commit into
mainfrom
codex/thrift-prebuilt-target-dir

Conversation

@HTHou

@HTHou HTHou commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Move the default prebuilt.artifacts.dir to target/prebuilt-artifacts.
  • Update the English and Chinese release instructions to download GitHub Actions artifacts under target/.
  • Remove the old top-level iotdb-tools-thrift/prebuilt-artifacts/ ignore entry so accidental use of that path is visible in git status.

Root Cause

The previous instructions downloaded prebuilt platform zip files into iotdb-tools-thrift/prebuilt-artifacts/. The Apache parent source-release assembly scans the project directory and excludes target/, but it does not exclude that top-level temporary directory. As a result, the source release zip included all prebuilt binary zips.

Validation

  • Ran ./mvnw clean, then downloaded the workflow artifact to target/prebuilt-artifacts with gh run download 27532371068 --repo apache/iotdb-bin-resources --name iotdb-tools-thrift-all-platforms --dir target/prebuilt-artifacts.
  • Ran ./mvnw package -P apache-release,prebuilt-artifacts -Dgpg.skip=true successfully.
  • Verified target/iotdb-tools-thrift-0.23.0.0-source-release.zip is 78,369 bytes and contains no prebuilt-artifacts, target/, or nested zip entries.

@HTHou HTHou marked this pull request as ready for review June 15, 2026 12:15
@HTHou HTHou merged commit d78bb62 into main Jun 15, 2026
6 checks passed
@HTHou HTHou deleted the codex/thrift-prebuilt-target-dir branch June 15, 2026 12:21
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