From f6ca024f4c0abedbf73a4a80add5a286cbcf5e2f Mon Sep 17 00:00:00 2001 From: Steve Ayers Date: Fri, 19 Apr 2024 11:06:49 -0400 Subject: [PATCH] Copy additional editions proto for v27.x (#211) This adds a step to our CI config to copy the new `test_messages_edition2023.proto` into our release binary. Note that we copy this to `include/google/protobuf` rather than mirroring its directory of `conformance/test_protos`. This is to keep all the `test_messages*.proto` files together in one directory. --- .github/workflows/release.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c6f5d8cb..44591d68 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -78,6 +78,7 @@ jobs: mkdir -p .tmp/include/conformance mkdir -p .tmp/include/google/protobuf cp ./protobuf-${{ needs.get-protobuf.outputs.version }}/conformance/conformance.proto .tmp/include/conformance + cp ./protobuf-${{ needs.get-protobuf.outputs.version }}/conformance/test_protos/test_messages*.proto .tmp/include/google/protobuf cp ./protobuf-${{ needs.get-protobuf.outputs.version }}/src/google/protobuf/test_messages*.proto .tmp/include/google/protobuf - name: Zip Binary @@ -143,6 +144,7 @@ jobs: mkdir -p .tmp/include/conformance mkdir -p .tmp/include/google/protobuf cp ./protobuf-${{ needs.get-protobuf.outputs.version }}/conformance/conformance.proto .tmp/include/conformance + cp ./protobuf-${{ needs.get-protobuf.outputs.version }}/conformance/test_protos/test_messages*.proto .tmp/include/google/protobuf cp ./protobuf-${{ needs.get-protobuf.outputs.version }}/src/google/protobuf/test_messages*.proto .tmp/include/google/protobuf - name: Zip Binary