Skip to content

Commit

Permalink
scripts: crate release helper
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddrysdale committed Jan 5, 2021
1 parent ba0e4a5 commit e3d4f99
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -e

# Crates to be published. Order is significant; later crates can only rely on earlier crates
CRATE_DIRS=(proto tink prf mac aead daead streaming signature integration/awskms rinkey)

# Release crates in dependency order. Assumes `cargo login` has been done.
for dir in "${CRATE_DIRS[@]}"; do
cargo release --manifest-path "$dir/Cargo.toml"
done

0 comments on commit e3d4f99

Please sign in to comment.