Skip to content

Commit

Permalink
Fix the versions script with the new group
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
  • Loading branch information
afrittoli committed Mar 9, 2023
1 parent 15f2750 commit b880b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/event-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}${DRAFT_VERSION}"
sed -i ".backup" -e 's,"dev.cdevents.*","dev.cdevents.'${SUBJECT}'.'${PREDICATE}'.'${VERSION}'",g' "${SCHEMA_FILE}"

# Update examples in docs
for doc in core source-code-version-control continuous-integration continuous-deployment; do
for doc in core source-code-version-control continuous-integration continuous-deployment continuous-operations; do
sed -i ".backup" -e 's,__`dev.cdevents.'${SUBJECT}'.'${PREDICATE}'.*`__,__`dev.cdevents.'${SUBJECT}'.'${PREDICATE}'.'${VERSION}'`__,g' "${doc}.md"
done

Expand Down

0 comments on commit b880b10

Please sign in to comment.