Skip to content

Commit

Permalink
Copy additional editions proto for v27.x (#211)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
smaye81 authored Apr 19, 2024
1 parent 069eb8b commit f6ca024
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f6ca024

Please sign in to comment.