chore: fix automation to put new version on the end
diff --git a/protoc/private/mirror_protoc_release.sh b/protoc/private/mirror_protoc_release.sh
index 4145df6..e3a3ba6 100755
--- a/protoc/private/mirror_protoc_release.sh
+++ b/protoc/private/mirror_protoc_release.sh
@@ -70,9 +70,9 @@
# Locate the PROTOC_VERSIONS declaration in the source file and replace it with a merge of both data sources
NEW=$(mktemp)
-sed '/PROTOC_VERSIONS =/Q' $VERSIONS_BZL > $NEW
+awk '/PROTOC_VERSIONS =/ {exit} {print}' $VERSIONS_BZL > $NEW
echo -n "PROTOC_VERSIONS = " >> $NEW
-jq --slurp '.[0] * .[1]' $NEW_VERSION $EXISTING_VERSIONS >> $NEW
+jq --slurp '.[1] * .[0]' $NEW_VERSION $EXISTING_VERSIONS >> $NEW
cp $NEW $VERSIONS_BZL
echo "Done, see updates in $VERSIONS_BZL"