Skip to content

Commit 74b572d

Browse files
committed
fix: properly expand ORIGINAL_VERSION variable in protobuf script
1 parent ebf4aad commit 74b572d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/unsafe/build-custom-protobuf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ DEPS="${SCRIPT_DIR}/../../dependencyManagement/build.gradle.kts"
4646
sed -i '/com\.google\.protobuf:protobuf-bom:/d' "${DEPS}"
4747
sed -i '/com\.google\.protobuf:protobuf-java/d' "${DEPS}"
4848
sed -i '/^val DEPENDENCIES = listOf(/a\ "com.google.protobuf:protobuf-java:'"${CUSTOM_VERSION}"'",' "${DEPS}"
49-
sed -i '/^val DEPENDENCIES = listOf(/a\ "com.google.protobuf:protobuf-java-util:${ORIGINAL_VERSION}",' "${DEPS}"
49+
sed -i '/^val DEPENDENCIES = listOf(/a\ "com.google.protobuf:protobuf-java-util:'"${ORIGINAL_VERSION}"'",' "${DEPS}"
5050

5151
echo "protobuf-java ${CUSTOM_VERSION} built and installed (UNSAFE disabled)."

0 commit comments

Comments
 (0)