File tree 1 file changed +14
-10
lines changed
1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,16 @@ if [ -z ${MATERIAL2_BUILDS_TOKEN} ]; then
15
15
exit 1
16
16
fi
17
17
18
- # Material packages that need to published.
19
- PACKAGES=(cdk material material-moment-adapter)
20
- REPOSITORIES=(cdk-builds material2-builds material2-moment-adapter-builds)
18
+ # Release packages that need to published as snapshots.
19
+ PACKAGES=(
20
+ cdk
21
+ cdk-experimental
22
+ material
23
+ material-experimental
24
+ material-moment-adapter
25
+ google-maps
26
+ youtube-player
27
+ )
21
28
22
29
# Command line arguments.
23
30
COMMAND_ARGS=${* }
@@ -117,11 +124,8 @@ publishPackage() {
117
124
echo " Published package artifacts for ${packageName} #${buildVersionName} into ${branchName} "
118
125
}
119
126
120
- for (( i = 0 ; i < ${# PACKAGES[@]} ; i++ )) ; do
121
- packageName=${PACKAGES[${i}]}
122
- packageRepo=${REPOSITORIES[${i}]}
123
-
124
- # Publish artifacts of the current package. Run publishing in a sub-shell to avoid working
125
- # directory changes.
126
- (publishPackage ${packageName} ${packageRepo} )
127
+ for packageName in " ${PACKAGES[@]} " ; do
128
+ # Publish artifacts of the current package. Run publishing in a sub-shell to avoid
129
+ # working directory changes.
130
+ (publishPackage ${packageName} " ${packageName} -builds" )
127
131
done
You can’t perform that action at this time.
0 commit comments