@@ -147,17 +147,20 @@ VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}${DRAFT_VERSION}"
147147find schemas -name ' *json' | \
148148 xargs sed -i " .backup" -e ' s,https://cdevents.dev/' ${OLD_VERSION} ' /schema/,https://cdevents.dev/' ${VERSION} ' /schema/,g'
149149
150- # Replace the version in the examples
151- find examples -name ' *json' | \
150+ # Replace the version in the conformance files
151+ find conformance -name ' *json' | \
152152 xargs sed -i " .backup" -e ' s,"version": "' ${OLD_VERSION} ' ","version": "' ${VERSION} ' ",g'
153153
154154# Replace the version in the custom events schema ID
155155find custom -name ' *json' | \
156156 xargs sed -i " .backup" -e ' s,https://cdevents.dev/' ${OLD_VERSION} ' /schema/,https://cdevents.dev/' ${VERSION} ' /schema/,g'
157157
158+ # Replace the version in the custom events conformance file
159+ find custom -name ' *json' | \
160+ xargs sed -i " .backup" -e ' s,"version": "' ${OLD_VERSION} ' ","version": "' ${VERSION} ' ",g'
158161
159162# Update examples in docs
160- for doc in cloudevents-binding spec; do
163+ for doc in cloudevents-binding spec links ; do
161164 sed -i " .backup" -e ' s;"version": "' ${OLD_VERSION} ' ",;"version": "' ${VERSION} ' ",;g' " ${doc} .md"
162165done
163166
0 commit comments