Skip to content

Commit 6238e5c

Browse files
author
Alejandro Such
committed
prepare for 7.3.x
1 parent e3eedf4 commit 6238e5c

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

scripts/change-version-to

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ switch_to_branch() {
1010
replace_files_with() {
1111
local VERSION=$1
1212
local SUFFIX=""
13-
13+
1414
if [ ! -z "$2" ]; then
1515
SUFFIX=$2
1616
fi
17-
17+
1818
sed -i -E "s:\(@angular/cli@\).*\(\s*\\\\\):\1$VERSION \2:" Dockerfile
1919
sed -i -E "s/\(@angular\/cli:\*\*\).*\(<br\/>\)/\1 $VERSION\2/" README.md
2020
sed -i -E "s/\(alexsuch\/angular-cli:\).*\(ng\)/\1$VERSION$SUFFIX \2/" README.md
@@ -23,7 +23,7 @@ replace_files_with() {
2323
build_docker() {
2424
local VERSION=$1
2525
local SUFFIX=""
26-
26+
2727
if [ ! -z "$2" ]; then
2828
SUFFIX=$2
2929
fi
@@ -36,7 +36,7 @@ on_success() {
3636
local VERSION=$1
3737
local BRANCHNAME=$2
3838
local SUFFIX=""
39-
39+
4040
if [ ! -z "$3" ]; then
4141
SUFFIX=$3
4242
fi
@@ -106,6 +106,8 @@ elif [[ $VERSION == 6.2.* ]]; then
106106
BRANCHNAME="6.2.x"
107107
elif [[ $VERSION == 7.0.* ]]; then
108108
BRANCHNAME="7.0.x"
109+
elif [[ $VERSION == 7.3.* ]]; then
110+
BRANCHNAME="7.3.x"
109111
fi
110112

111113
switch_to_branch $BRANCHNAME
@@ -139,6 +141,8 @@ elif [[ $VERSION == 6.2.* ]]; then
139141
BRANCHNAME="6.2.x-chromium"
140142
elif [[ $VERSION == 7.0.* ]]; then
141143
BRANCHNAME="7.0.x-chromium"
144+
elif [[ $VERSION == 7.3.* ]]; then
145+
BRANCHNAME="7.3.x-chromium"
142146
fi
143147

144148
switch_to_branch $BRANCHNAME

0 commit comments

Comments
 (0)