From c717656b322ae6ff68f1c9fde1fb9ec7173a1bf9 Mon Sep 17 00:00:00 2001 From: Oscar Beaumont Date: Thu, 1 Aug 2024 21:15:51 +0800 Subject: [PATCH] crude publish script --- publish.sh | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 publish.sh diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000..29e6dd8 --- /dev/null +++ b/publish.sh @@ -0,0 +1,29 @@ +#!/bin/bash +# TODO: Replace this with some proper tool +# TODO: Detect if the package has changed and a release is required + +set -e + +cd specta-macros/ +cargo publish +cd .. + +cd specta/ +cargo publish +cd .. + +cd specta-util/ +cargo publish +cd .. + +cd specta-serde/ +cargo publish +cd .. + +cd specta-typescript/ +cargo publish +cd .. + +cd specta-jsdoc/ +cargo publish +cd .. \ No newline at end of file