Skip to content

Commit

Permalink
Add distribution path mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
Yarden-Edery committed Nov 26, 2023
1 parent ebf4f1e commit cc692a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions schema/filespec-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
}
}
},
"mappings": {
"description": "If specified, determines release-bundle source and target metadata for artifacts that had been fetched using aql",
"pathMapping": {
"description": "If specified, determines release-bundle source and target paths for artifacts that had been fetched using aql",
"properties": {
"input": {
"type": "string",
Expand Down Expand Up @@ -240,7 +240,7 @@
]
}
},
"mappings": { "required": ["aql"] },
"pathMapping": { "required": ["aql"] },
"build": { "not": { "required": ["bundle", "limit", "offset"] } },
"bundle": { "not": { "required": ["build", "limit", "offset"] } },
"excludeArtifacts": { "required": ["build"] },
Expand Down
2 changes: 1 addition & 1 deletion testdata/filespecs/dist_create_with_mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
}
},
"mappings": { "input": "${DIST_REPO1}/data/(.*)", "output": "${DIST_REPO2}/target/$1" }
"pathMapping": { "input": "${DIST_REPO1}/data/(.*)", "output": "${DIST_REPO2}/target/$1" }
}
]
}

0 comments on commit cc692a7

Please sign in to comment.