Skip to content

Commit

Permalink
Remove gitref for soroban-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
stellarsaur committed Feb 13, 2024
1 parent 7b99e3a commit 1bad90a
Show file tree
Hide file tree
Showing 3 changed files with 338 additions and 265 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/dry_run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/bash

version=$(cargo metadata --format-version 1 | jq -r '.packages[] | select(.name=="soroban-rpc") | .version')
cargo package \
--no-verify \
--package soroban-rpc \
--config "source.crates-io.replace-with = 'vendored-sources'" \
--config "source.vendored-sources.directory = 'vendor'"
path="target/package/soroban-rpc-${version}.crate"
tar xvfz "$path" -C vendor/
# Crates in the vendor directory require a checksum file, but it doesn't
# matter if it is empty.
echo '{"files":{}}' > vendor/$name-$version/.cargo-checksum.json
Loading

0 comments on commit 1bad90a

Please sign in to comment.