From e2ce92969820f68fea0ee2814c0f69d44f43de47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20W=C3=B6lfer?= Date: Thu, 29 Jan 2026 21:18:31 +0100 Subject: [PATCH] chore: bump script --- scripts/bump.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/bump.sh diff --git a/scripts/bump.sh b/scripts/bump.sh new file mode 100644 index 0000000..64743c8 --- /dev/null +++ b/scripts/bump.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +set -euo pipefail + +VERSION="$(git cliff --bumped-version)" +sed -i "s/^version = \".*\"/version = \"${VERSION}\"/" Cargo.toml +cargo check +echo Press Y to commit version bump to ${VERSION} +read -r CONFIRM +if [ "${CONFIRM}" != "Y" ]; then + echo Aborting + exit 1 +fi +git commit -am "chore: bump version to ${VERSION}" +git tag -am "Version ${VERSION}" "${VERSION}" \ No newline at end of file