File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,14 @@ if [[ ! $version =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
2424 exit 1
2525fi
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+
2735npm run edit-toml $SRC_DIR /python/pyproject.toml tool.poetry version $version
2836git commit -am " Release python client $version "
2937git push origin main
Original file line number Diff line number Diff line change @@ -25,6 +25,13 @@ if [[ ! $version =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
2525 exit 1
2626fi
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
2936npm version $version --prefix $SRC_DIR /ts
3037git commit -am " Release ts client $version "
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " vectorize-client"
3- version = " 1.0.0 "
3+ version = " 0.1.3 "
44description = " Python client for the Vectorize API"
55authors = [
" Vectorize <[email protected] >" ]
66license = " MIT"
You can’t perform that action at this time.
0 commit comments