Compare commits

2 Commits

Author SHA1 Message Date
Lukas Wölfer
f91303b92c chore: bump version to v0.1.2
All checks were successful
Release / build_release (push) Successful in 3m31s
Rust / build_and_test (push) Successful in 24s
2026-04-11 15:07:55 +02:00
Lukas Wölfer
aff3367623 chore: update git cliff version building 2026-04-11 15:07:49 +02:00
3 changed files with 10 additions and 4 deletions

2
Cargo.lock generated
View File

@@ -3259,7 +3259,7 @@ dependencies = [
[[package]] [[package]]
name = "weight_tracker" name = "weight_tracker"
version = "0.1.1" version = "0.1.2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"askama", "askama",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "weight_tracker" name = "weight_tracker"
version = "0.1.1" version = "0.1.2"
edition = "2024" edition = "2024"
[dependencies] [dependencies]

View File

@@ -2,8 +2,14 @@
set -euo pipefail set -euo pipefail
VERSION="$(git cliff --bumped-version)" VERSION_CLEAN="$(git cliff --bumped-version)"
VERSION_CLEAN="${VERSION#v}" if [[ ! $VERSION_CLEAN =~ ^[0-9] ]]; then
echo "Error: VERSION_CLEAN does not start with a number"
exit 1
fi
VERSION="v${VERSION_CLEAN}"
sed -i "s/^version = \".*\"/version = \"${VERSION_CLEAN}\"/" Cargo.toml sed -i "s/^version = \".*\"/version = \"${VERSION_CLEAN}\"/" Cargo.toml
cargo check cargo check