diff --git a/ci/src/main.rs b/ci/src/main.rs index 569eb8d..5904fdf 100644 --- a/ci/src/main.rs +++ b/ci/src/main.rs @@ -100,7 +100,7 @@ async fn main() -> eyre::Result<()> { cuddle_please(client.clone(), &cli) ); } - Commands::Release => todo!(), + Commands::Release => {} } Ok(()) diff --git a/scripts/ci:release.sh b/scripts/ci:release.sh new file mode 100755 index 0000000..c48ade8 --- /dev/null +++ b/scripts/ci:release.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -e + +CMD_PREFIX="cargo run -p ci --" + +if [[ -n "$CI_PREFIX" ]]; then + CMD_PREFIX="$CI_PREFIX" +fi + +$CMD_PREFIX pull-request --cuddle-please-image="$CUDDLE_PLEASE_IMAGE"