File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -96,12 +96,14 @@ jobs:
96
96
echo "version = $VERSION"
97
97
SHOULD_RELEASE=$(./mill show unipublish.autoRelease)
98
98
echo "should release = ${SHOULD_RELEASE}"
99
- PLUGIN_VERSIONS=$(./mill show plugin.publishableVersions | jq -r 'join(",")' )
99
+ PLUGIN_VERSIONS=$(./mill show plugin.publishableVersions)
100
100
echo "plugin versions = ${PLUGIN_VERSIONS}"
101
+ PLUGIN_MODULES=$(echo "${PLUGIN_VERSIONS}" | jq -r 'map("plugin.cross[" + . + "]") | join(",")')
102
+ echo "plugin modules = ${PLUGIN_MODULES}"
101
103
./mill mill.javalib.SonatypeCentralPublishModule/ \
102
104
--shouldRelease "$SHOULD_RELEASE" \
103
105
--bundleName "chisel-$VERSION" \
104
- --publishArtifacts "{unipublish,plugin.cross[${PLUGIN_VERSIONS}] }.publishArtifacts"
106
+ --publishArtifacts "{unipublish,${PLUGIN_MODULES} }.publishArtifacts"
105
107
# FIXME uncomment, done for debugging PR
106
108
# env:
107
109
# MILL_PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
You can’t perform that action at this time.
0 commit comments