File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Expand file tree Collapse file tree 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
1515 exit 1
1616fi
1717
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+ )
2128
2229# Command line arguments.
2330COMMAND_ARGS=${* }
@@ -117,11 +124,8 @@ publishPackage() {
117124 echo " Published package artifacts for ${packageName} #${buildVersionName} into ${branchName} "
118125}
119126
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" )
127131done
You can’t perform that action at this time.
0 commit comments