Skip to content

Commit 7ba1c53

Browse files
committed
fix: strip v prefix from version in Cargo.toml and package.json, fix bump script
Cargo requires plain semver (0.4.0), not v-prefixed (v0.4.0). The bump-version script was passing the user's input directly without stripping the leading 'v', breaking `cargo build` and `cargo publish`. - Strip 'v' prefix in bump_version() using ${1#v} - Fix version check to tolerate either form - Correct all Cargo.toml and package.json files from v0.4.0 to 0.4.0 - Sync all Cargo.lock files Note: Python pyproject.toml files remain at 0.3.4 — re-run the fixed bump script to complete the version update.
1 parent b1ceb35 commit 7ba1c53

File tree

19 files changed

+30
-31
lines changed

19 files changed

+30
-31
lines changed

.claude/worktrees/agent-a0972c65

Lines changed: 0 additions & 1 deletion
This file was deleted.

.claude/worktrees/agent-a772161b

Lines changed: 0 additions & 1 deletion
This file was deleted.

compilers/rust/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

compilers/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "runar-compiler-rust"
3-
version = "0.3.4"
3+
version = "0.4.0"
44
edition = "2021"
55
description = "Rust implementation of the Rúnar compiler (full pipeline: .runar.ts → Bitcoin Script)"
66
license = "MIT"

end2end-example/rust/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.

examples/rust/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.

integration/rust/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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "runar",
3-
"version": "0.3.4",
3+
"version": "0.4.0",
44
"type": "module",
55
"private": true,
66
"description": "TypeScript-to-Bitcoin Script compiler for BSV smart contracts",

packages/runar-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "runar-cli",
3-
"version": "0.3.4",
3+
"version": "0.4.0",
44
"type": "module",
55
"description": "Rúnar CLI: compile, test, deploy, and manage smart contracts",
66
"main": "dist/index.js",

packages/runar-compiler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "runar-compiler",
3-
"version": "0.3.4",
3+
"version": "0.4.0",
44
"type": "module",
55
"description": "Rúnar reference compiler (TypeScript): nanopass pipeline from TS to Bitcoin Script",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)