Skip to content

Commit 4ee5e54

Browse files
committed
{LTS} Do not add post suffix for branches starting with release (#30905)
1 parent 95ef126 commit 4ee5e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/pypi/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pip list
2222

2323
script_dir=`cd $(dirname $BASH_SOURCE[0]); pwd`
2424

25-
if [[ "$branch" != "release" ]]; then
25+
if [[ ! $branch =~ ^release ]]; then
2626
. $script_dir/../../ci/version.sh post`date -u '+%Y%m%d%H%M%S'`
2727
fi
2828

0 commit comments

Comments
 (0)