From 7997c991e6983bd59ccbd2c47af60e1216f481c0 Mon Sep 17 00:00:00 2001 From: desbma-s1n Date: Wed, 27 Sep 2023 19:25:31 +0200 Subject: [PATCH] chore: add release script --- release | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 release diff --git a/release b/release new file mode 100755 index 0000000..85a85b6 --- /dev/null +++ b/release @@ -0,0 +1,14 @@ +#!/bin/bash -eu + +readonly VERSION="${1-$(date +%-Y.%-m.%-d)}" + +cargo set-version "${VERSION}" + +cargo update + +cargo test + +git add Cargo.{toml,lock} +git commit -m "chore: version ${VERSION}" + +git tag "v${VERSION}"