Skip to content

Commit

Permalink
Fix wrong event versions
Browse files Browse the repository at this point in the history
Artifact packaged and artifact published had the wrong
event versions. Return to v0.2.0-draft (which was already
bumped in this release. Examples already match.

Signed-off-by: Andrea Frittoli <[email protected]>
  • Loading branch information
afrittoli committed Mar 6, 2024
1 parent a8eab81 commit df2ee2c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions schemas/artifactpackaged.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"type": {
"type": "string",
"enum": [
"dev.cdevents.artifact.packaged.0.3.0-draft"
"dev.cdevents.artifact.packaged.0.2.0-draft"
],
"default": "dev.cdevents.artifact.packaged.0.3.0-draft"
"default": "dev.cdevents.artifact.packaged.0.2.0-draft"
},
"timestamp": {
"type": "string",
Expand Down
4 changes: 2 additions & 2 deletions schemas/artifactpublished.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"type": {
"type": "string",
"enum": [
"dev.cdevents.artifact.published.0.3.0-draft"
"dev.cdevents.artifact.published.0.2.0-draft"
],
"default": "dev.cdevents.artifact.published.0.3.0-draft"
"default": "dev.cdevents.artifact.published.0.2.0-draft"
},
"timestamp": {
"type": "string",
Expand Down
3 changes: 3 additions & 0 deletions tools/verify-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ for example in $(find "${EXAMPLES_FOLDER}" -type f -name '*json'); do
echo
done

# Cleanup local schemas
find "${ROOT}/schemas" -name '*.local' -exec rm {} +

if [ $num_failed -gt 0 ]; then
echo "${num_failed} out of ${num_examples} examples failed validation"
fi
Expand Down

0 comments on commit df2ee2c

Please sign in to comment.