Skip to content

Commit e737f4d

Browse files
authored
meta(release): More fixes to enable release (#167)
1 parent c86310b commit e737f4d

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ lto = "thin"
2424
objectstore-client = { path = "clients/rust" }
2525
objectstore-server = { path = "objectstore-server" }
2626
objectstore-service = { path = "objectstore-service" }
27-
objectstore-types = { path = "objectstore-types" }
27+
objectstore-types = { path = "objectstore-types", version = "0.1.0" }
2828
stresstest = { path = "stresstest" }
2929

3030
anyhow = "1.0.98"

objectstore-types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repository = "https://github.com/getsentry/objectstore"
77
license-file = "../LICENSE.md"
88
version = "0.1.0"
99
edition = "2024"
10-
publish = false
10+
publish = true
1111

1212
[dependencies]
1313
anyhow = { workspace = true }

scripts/bump-version-clients.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,15 @@ echo "Bumping to version: $NEW_VERSION"
1313

1414
cd $ROOT_DIR
1515
cd clients/rust
16+
perl -pi -e "s/^version = \".*?\"/version = \"$NEW_VERSION\"/" Cargo.toml
1617

18+
cd $ROOT_DIR
19+
cd objectstore-types
1720
perl -pi -e "s/^version = \".*?\"/version = \"$NEW_VERSION\"/" Cargo.toml
21+
22+
cd $ROOT_DIR
23+
sed -i '' "/^objectstore-types.*path.*objectstore-types/s/version = \"[^\"]*\"/version = \"$NEW_VERSION\"/" Cargo.toml
24+
1825
cargo metadata --format-version 1 >/dev/null # update `Cargo.lock`
1926

2027
# ==================== PY ====================

0 commit comments

Comments
 (0)