Skip to content

Commit ebc2c0a

Browse files
abitofhelpclaude
andcommitted
chore: bump version to v1.0.4 and add version management script
- Update version in all Cargo.toml files from 1.0.1 to 1.0.4 - Add scripts/set_versions.sh for automated version updates - Update dependency versions in adaptive_pipeline/Cargo.toml 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e45c209 commit ebc2c0a

5 files changed

Lines changed: 86 additions & 8 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

adaptive_pipeline/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "adaptive-pipeline"
3-
version = "1.0.1"
3+
version = "1.0.4"
44
description = "High-performance optimized, adaptive file processing pipeline with configurable stages, binary format support, and cross-platform compatibility"
55
edition = "2021"
66
rust-version = "1.87"
@@ -24,8 +24,8 @@ exclude = [
2424
workspace = true
2525

2626
[dependencies]
27-
adaptive-pipeline-domain = { path = "../adaptive_pipeline_domain", version = "1.0.1" }
28-
adaptive-pipeline-bootstrap = { path = "../adaptive_pipeline_bootstrap", version = "1.0.1" }
27+
adaptive-pipeline-domain = { path = "../adaptive_pipeline_domain", version = "1.0.4" }
28+
adaptive-pipeline-bootstrap = { path = "../adaptive_pipeline_bootstrap", version = "1.0.4" }
2929

3030
# Core dependencies
3131
serde = { workspace = true }

adaptive_pipeline_bootstrap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "adaptive-pipeline-bootstrap"
3-
version = "1.0.1"
3+
version = "1.0.4"
44
edition = "2021"
55
rust-version = "1.87"
66
authors = ["Michael Gardner <michael@abitofhelp.com>"]

adaptive_pipeline_domain/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "adaptive-pipeline-domain"
3-
version = "1.0.1"
3+
version = "1.0.4"
44
description = "Domain layer for optimized, adaptive pipeline - pure reusable business logic, entities, value objects, and domain services following DDD principles"
55
edition = "2021"
66
rust-version = "1.87"

scripts/set_versions.sh

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
#!/bin/bash
2+
# Set version numbers across all project files
3+
# Usage: ./scripts/set_versions.sh <version> [date]
4+
# Example: ./scripts/set_versions.sh 1.0.4 "October 7, 2025"
5+
6+
set -e # Exit on error
7+
8+
VERSION="$1"
9+
DATE="${2:-$(date '+%B %d, %Y')}"
10+
11+
if [ -z "$VERSION" ]; then
12+
echo "Usage: $0 <version> [date]"
13+
echo "Example: $0 1.0.4 \"October 7, 2025\""
14+
exit 1
15+
fi
16+
17+
# Validate version format (semantic versioning)
18+
if ! echo "$VERSION" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+$'; then
19+
echo "Error: Version must be in format X.Y.Z (e.g., 1.0.4)"
20+
exit 1
21+
fi
22+
23+
cd /Users/mike/Rust/src/github.com/abitofhelp/optimized_adaptive_pipeline_rs
24+
25+
echo "Setting version to v${VERSION} (${DATE})..."
26+
echo ""
27+
28+
# Update Cargo.toml files
29+
echo "Updating Cargo.toml files..."
30+
31+
# adaptive_pipeline/Cargo.toml - main version
32+
sed -i '' "s/^version = \".*\"/version = \"${VERSION}\"/" adaptive_pipeline/Cargo.toml
33+
34+
# adaptive_pipeline/Cargo.toml - dependency versions
35+
sed -i '' "s/adaptive-pipeline-domain = { path = \"\.\.\/adaptive_pipeline_domain\", version = \".*\" }/adaptive-pipeline-domain = { path = \"..\/adaptive_pipeline_domain\", version = \"${VERSION}\" }/" adaptive_pipeline/Cargo.toml
36+
sed -i '' "s/adaptive-pipeline-bootstrap = { path = \"\.\.\/adaptive_pipeline_bootstrap\", version = \".*\" }/adaptive-pipeline-bootstrap = { path = \"..\/adaptive_pipeline_bootstrap\", version = \"${VERSION}\" }/" adaptive_pipeline/Cargo.toml
37+
38+
# adaptive_pipeline_domain/Cargo.toml
39+
sed -i '' "s/^version = \".*\"/version = \"${VERSION}\"/" adaptive_pipeline_domain/Cargo.toml
40+
41+
# adaptive_pipeline_bootstrap/Cargo.toml
42+
sed -i '' "s/^version = \".*\"/version = \"${VERSION}\"/" adaptive_pipeline_bootstrap/Cargo.toml
43+
44+
echo " ✓ adaptive_pipeline/Cargo.toml"
45+
echo " ✓ adaptive_pipeline_domain/Cargo.toml"
46+
echo " ✓ adaptive_pipeline_bootstrap/Cargo.toml"
47+
echo ""
48+
49+
# Update documentation introduction files
50+
echo "Updating documentation files..."
51+
52+
# User guide
53+
sed -i '' "s/^\*\*Version:\*\* .*/\*\*Version:\*\* ${VERSION}/" docs/src/introduction.md
54+
sed -i '' "s/^\*\*Date:\*\* .*/\*\*Date:\*\* ${DATE}/" docs/src/introduction.md
55+
echo " ✓ docs/src/introduction.md"
56+
57+
# Developer guide
58+
sed -i '' "s/^\*\*Version:\*\* .*/\*\*Version:\*\* ${VERSION}/" adaptive_pipeline/docs/src/introduction.md
59+
sed -i '' "s/^\*\*Date:\*\* .*/\*\*Date:\*\* ${DATE}/" adaptive_pipeline/docs/src/introduction.md
60+
echo " ✓ adaptive_pipeline/docs/src/introduction.md"
61+
echo ""
62+
63+
echo "✅ Version updated to v${VERSION} (${DATE})"
64+
echo ""
65+
echo "Files modified:"
66+
echo " • adaptive_pipeline/Cargo.toml (3 version strings)"
67+
echo " • adaptive_pipeline_domain/Cargo.toml"
68+
echo " • adaptive_pipeline_bootstrap/Cargo.toml"
69+
echo " • docs/src/introduction.md"
70+
echo " • adaptive_pipeline/docs/src/introduction.md"
71+
echo ""
72+
echo "Next steps:"
73+
echo " 1. Build the project: cargo build --release"
74+
echo " 2. Verify version: ./target/release/adaptive_pipeline --version"
75+
echo " 3. Update CHANGELOG.md if needed"
76+
echo " 4. Commit: git add -A && git commit -m 'chore: bump version to v${VERSION}'"
77+
echo " 5. Tag: git tag -a v${VERSION} -m 'Release v${VERSION}'"
78+
echo " 6. Push: git push && git push --tags"

0 commit comments

Comments
 (0)