@@ -147,17 +147,20 @@ VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}${DRAFT_VERSION}"
147
147
find schemas -name ' *json' | \
148
148
xargs sed -i " .backup" -e ' s,https://cdevents.dev/' ${OLD_VERSION} ' /schema/,https://cdevents.dev/' ${VERSION} ' /schema/,g'
149
149
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' | \
152
152
xargs sed -i " .backup" -e ' s,"version": "' ${OLD_VERSION} ' ","version": "' ${VERSION} ' ",g'
153
153
154
154
# Replace the version in the custom events schema ID
155
155
find custom -name ' *json' | \
156
156
xargs sed -i " .backup" -e ' s,https://cdevents.dev/' ${OLD_VERSION} ' /schema/,https://cdevents.dev/' ${VERSION} ' /schema/,g'
157
157
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'
158
161
159
162
# Update examples in docs
160
- for doc in cloudevents-binding spec; do
163
+ for doc in cloudevents-binding spec links ; do
161
164
sed -i " .backup" -e ' s;"version": "' ${OLD_VERSION} ' ",;"version": "' ${VERSION} ' ",;g' " ${doc} .md"
162
165
done
163
166
0 commit comments