From 24c2c8cad43c755cf668ea92a08c0be7fb3b819d Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 21 Sep 2025 12:37:04 +0800 Subject: First --- publish.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 publish.sh (limited to 'publish.sh') diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000..7e1a0ac --- /dev/null +++ b/publish.sh @@ -0,0 +1,10 @@ +#!/bin/bash +cd "$(dirname "$0")" + +cargo build --workspace + +if [ $? -eq 0 ]; then + cargo run --package cli_publisher +else + exit 1 +fi -- cgit