Replace Cargo.toml version with build-time PINCH_VERSION
Calver tag does not need to be semver. Version comes from the
PINCH_VERSION env var at compile time, defaulting to "dev".

Assisted-by: Claude Opus 4.6 via pi
change qnuvsruxpmyxowllttrkkuupozqpltwu
commit f7d30331657196474e7d53a867146f312de4d431
author Alpha Chen <alpha@kejadlen.dev>
date
parent nrkypxtp
diff --git a/Cargo.lock b/Cargo.lock
index dafba70..fc0f63d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -331,7 +331,7 @@ checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
 
 [[package]]
 name = "pinch"
-version = "0.1.0"
+version = "0.0.0"
 dependencies = [
  "clap",
  "color-eyre",
diff --git a/Cargo.toml b/Cargo.toml
index 2378f7f..3cf4303 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,5 @@
 [package]
 name = "pinch"
-version = "0.1.0"
 edition = "2024"
 
 [dependencies]
diff --git a/src/main.rs b/src/main.rs
index e81613d..54135ee 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -11,7 +11,11 @@ use color_eyre::eyre::{Context, Result, bail};
 use tracing::info;
 
 #[derive(Parser)]
-#[command(name = "pinch", about = "A plugin manager for Claude Code and pi")]
+#[command(
+    name = "pinch",
+    about = "A plugin manager for Claude Code and pi",
+    version = option_env!("PINCH_VERSION").unwrap_or("dev")
+)]
 struct Cli {
     #[command(subcommand)]
     command: Command,