From 8874cd525127b0f2ec79f687c1c9729c982b6884 Mon Sep 17 00:00:00 2001 From: Dave Rolsky Date: Mon, 2 Sep 2024 10:57:55 -0500 Subject: [PATCH] Add release post-split tooling --- do-release.sh | 4 ++++ release.toml | 4 ++++ ubi-cli/Cargo.toml | 3 +++ 3 files changed, 11 insertions(+) create mode 100755 do-release.sh create mode 100644 release.toml diff --git a/do-release.sh b/do-release.sh new file mode 100755 index 0000000..d09d066 --- /dev/null +++ b/do-release.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cargo release --package ubi "$@" +cargo release --package ubi-cli "$@" diff --git a/release.toml b/release.toml new file mode 100644 index 0000000..26aca19 --- /dev/null +++ b/release.toml @@ -0,0 +1,4 @@ +allow-branch = ["master"] +shared-version = true +sign-commit = true +sign-tag = true diff --git a/ubi-cli/Cargo.toml b/ubi-cli/Cargo.toml index c758119..d6aea60 100644 --- a/ubi-cli/Cargo.toml +++ b/ubi-cli/Cargo.toml @@ -20,3 +20,6 @@ ubi = { version = "0.2.0", path = "../ubi", features = ["default", "logging"] } [[bin]] name = "ubi" path = "src/main.rs" + +[package.metadata.release] +tag-name = "v{{version}}"