Skip to content

Commit 321adc7

Browse files
committed
chore: fix release script
1 parent 27d0373 commit 321adc7

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

docarray/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '0.1.0'
1+
__version__ = '0.1.1'
22

33
from .document import Document
44
from .array import DocumentArray

scripts/release.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ function git_commit {
4848
git commit -m "chore(version): the next version will be $NEXT_VER" -m "build($RELEASE_ACTOR): $RELEASE_REASON"
4949
}
5050

51-
function slack_notif {
52-
envsubst < ./.github/slack-pypi.json | curl -X POST -H 'Content-type: application/json' --data "@-" $JINA_SLACK_WEBHOOK
53-
}
5451

5552

5653
function make_release_note {
@@ -94,7 +91,6 @@ if [[ $1 == "final" ]]; then
9491
RELEASE_REASON="$2"
9592
RELEASE_ACTOR="$3"
9693
git_commit
97-
slack_notif
9894
elif [[ $1 == 'rc' ]]; then
9995
printf "this will be a release candidate: \e[1;33m$RELEASE_VER\e[0m\n"
10096
DOT_RELEASE_VER=$(echo $RELEASE_VER | sed "s/rc/\./")
@@ -111,7 +107,6 @@ elif [[ $1 == 'rc' ]]; then
111107
RELEASE_REASON="$2"
112108
RELEASE_ACTOR="$3"
113109
git_commit
114-
slack_notif
115110
else
116111
# as a prerelease, pypi update only, no back commit etc.
117112
COMMITS_SINCE_LAST_VER=$(git rev-list $LAST_VER..HEAD --count)

0 commit comments

Comments
 (0)