summaryrefslogtreecommitdiff
path: root/publish.sh
diff options
context:
space:
mode:
Diffstat (limited to 'publish.sh')
-rwxr-xr-xpublish.sh10
1 files changed, 10 insertions, 0 deletions
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