Skip to content

Commit 2247450

Browse files
committed
more fixes to release/prepare.sh
1 parent 4b673b4 commit 2247450

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

release/prepare.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RELEASE=$1
1616
export RELEASE="$RELEASE"
1717

1818
script_dir="$(dirname "${BASH_SOURCE[0]}")"
19-
root=$(dirname "$script_dir")
19+
root=$(cd "$script_dir/.." && pwd)
2020
cd "$script_dir"
2121

2222
git fetch upstream
@@ -39,8 +39,10 @@ grep "$RELEASE" "$root/setup.py"
3939
grep "$RELEASE" "$root/docs/src/conf.py"
4040
grep "$RELEASE" "$root/gensim/__init__.py"
4141

42+
set +e
4243
git diff | cat
4344
git commit -a -m "bumped version to $RELEASE"
45+
set -e
4446

4547
echo "Now update CHANGELOG.md and include the PRs in this release."
4648
read -p "Press Enter to continue. An editor window will open."

0 commit comments

Comments
 (0)