Skip to content

Commit

Permalink
fix copybara transformations
Browse files Browse the repository at this point in the history
  • Loading branch information
gesarki committed Nov 28, 2024
1 parent 951c286 commit 1045a9e
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions copy.bara.sky
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,33 @@ ${GITHUB_PR_BODY}
'''
),
origin_files = glob([
"javascript/on-demand/**",
"rust/switchboard-on-demand/**",
"rust/switchboard-on-demand-client/**"
"solana/**"
]),
destination_files = glob([
"javascript/on-demand/**",
"rust/switchboard-on-demand/**",
"rust/switchboard-on-demand-client/**"
]),
transformations =
core.reverse([
core.replace(
before = "workspace:*",
after = "latest",
paths = glob(["**/package.json"])
),
# move the solana SDKs to /solana/original-paths
core.move(
before = "javascript/on-demand",
after = "solana/javascript/on-demand"
),
core.move(
before = "rust/switchboard-on-demand",
after = "solana/rust/switchboard-on-demand"
),
core.move(
before = "rust/switchboard-on-demand-client",
after = "solana/rust/switchboard-on-demand-client"
)
]),
authoring = authoring.pass_thru("Copybara <[email protected]>")
)

0 comments on commit 1045a9e

Please sign in to comment.