From 5e604d7a10f70663d95b3d3eafa9423d15bbad76 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 12 Aug 2023 21:22:47 +0200 Subject: [PATCH] chore: add noop release script Signed-off-by: kjuulh --- ci/src/main.rs | 2 +- scripts/ci:release.sh | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 scripts/ci:release.sh 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"