Skip to content

Commit 5463a64

Browse files
committed
Release python client 0.1.3
1 parent c9090bd commit 5463a64

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

scripts/release-python.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ if [[ ! $version =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
2424
exit 1
2525
fi
2626

27+
read -p "Release python client $version? (y/n) " -n 1 -r
28+
echo
29+
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
30+
echo "Aborting release"
31+
exit 1
32+
fi
33+
34+
2735
npm run edit-toml $SRC_DIR/python/pyproject.toml tool.poetry version $version
2836
git commit -am "Release python client $version"
2937
git push origin main

scripts/release-ts.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ if [[ ! $version =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
2525
exit 1
2626
fi
2727

28+
read -p "Release ts client $version? (y/n) " -n 1 -r
29+
echo
30+
if [[ ! $REPLY =~ ^[Yy]$ ]]; then
31+
echo "Aborting release"
32+
exit 1
33+
fi
34+
2835

2936
npm version $version --prefix $SRC_DIR/ts
3037
git commit -am "Release ts client $version"

src/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "vectorize-client"
3-
version = "1.0.0"
3+
version = "0.1.3"
44
description = "Python client for the Vectorize API"
55
authors = [ "Vectorize <[email protected]>" ]
66
license = "MIT"

0 commit comments

Comments
 (0)