Skip to content

Commit 133bc55

Browse files
committed
fix patch release regexp
1 parent 4e741fb commit 133bc55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pushd $BUILD_DIR/CMSDIST
4242
# a patch release uses the same cmsdist tag as its base release
4343
case $CMSSW_X_Y_Z in
4444
*patch*)
45-
BASE_RELEASE=`echo $CMSSW_X_Y_Z | sed 's/_patch[0-9]*//g'`
45+
BASE_RELEASE=`echo $CMSSW_X_Y_Z | sed 's/_[a-zA-Z0-9]*patch[0-9]*//g'`
4646
CMSDIST_TAG=REL/$BASE_RELEASE/$ARCHITECTURE
4747
BUILD_OPTS=""
4848
MULTIARCH_OPTS=""

0 commit comments

Comments
 (0)