Skip to content

Commit 1325feb

Browse files
committed
Release 1.0.2, update release script
1 parent d097dea commit 1325feb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

release.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@ sub='s/\(["'"'"']\)'"$old1"'["'"'"']/\1'"$new"'\1/'
1919
sed -i~ -e '/version *=/'"$sub" python/setup.py
2020
sed -i~ -e '/"version" *:/'"$sub" nodejs/package.json
2121

22-
cd "$root"/python
22+
pushd "$root"/python
2323
python setup.py sdist
2424
twine upload dist/http_ece-"$new".tar.gz
25+
popd
2526

26-
cd "$root"/nodejs
27+
pushd "$root"/nodejs
2728
npm publish
29+
popd
2830

2931
git commit -m "Update version to $new" python/setup.py nodejs/package.json
30-
git tag v"$new"
32+
git tag -a v"$new" -m "Release version $new"

0 commit comments

Comments
 (0)