Skip to content

Commit 937cd89

Browse files
authored
{Packaging} Port #30905: Do not add post suffix for branches starting with release (#30936)
1 parent a978b1c commit 937cd89

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)