publish: snapshot

This commit is contained in:
nym21
2026-01-14 23:14:28 +01:00
parent 96e0df110e
commit b0d933a7ab
5 changed files with 18 additions and 3 deletions
+1 -1
View File
@@ -34,5 +34,5 @@
"url": "git+https://github.com/bitcoinresearchkit/brk.git"
},
"type": "module",
"version": "0.1.0-alpha.2"
"version": "0.1.0-alpha.3"
}
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "brk-client"
version = "0.1.0-alpha.2"
version = "0.1.0-alpha.3"
description = "Python client for the Bitcoin Research Kit"
readme = "README.md"
requires-python = ">=3.11"
+12 -1
View File
@@ -16,4 +16,15 @@ cd "$ROOT_DIR/modules/brk-client"
sed -i '' 's/"version": "[^"]*"/"version": "'"$VERSION"'"/' package.json
echo "Updated package.json to $VERSION"
npm publish --access public
# Determine npm tag based on version
if [[ "$VERSION" == *"-alpha"* ]]; then
NPM_TAG="alpha"
elif [[ "$VERSION" == *"-beta"* ]]; then
NPM_TAG="beta"
elif [[ "$VERSION" == *"-rc"* ]]; then
NPM_TAG="rc"
else
NPM_TAG="latest"
fi
npm publish --access public --tag "$NPM_TAG"
+3
View File
@@ -16,5 +16,8 @@ cd "$ROOT_DIR/packages/brk_client"
sed -i '' 's/^version = "[^"]*"/version = "'"$VERSION"'"/' pyproject.toml
echo "Updated pyproject.toml to $VERSION"
# Clean old build artifacts
rm -rf dist
uv build
uv publish
+1
View File
@@ -23,6 +23,7 @@ CRATES=(
brk_bindgen
brk_mcp
brk_server
brk_client
brk
brk_cli
)