Only publish packages on Linux
@@ -23,6 +23,7 @@ do
${PUBLISH} ${RELEASE_INFO[0]} "${PUBLISH_PROJECT}/${OS}/${ARCH}" ${RELEASE_INFO[@]:1}
done
+if [[ "${TRAVIS_OS_NAME:-}" == "linux" ]]; then
echo "Publishing NPM package to NPMjs.com:"
pushd ${ROOT}/sdk/nodejs/bin && \
npm publish && \
@@ -34,3 +35,4 @@ twine upload \
--repository-url https://pypi-dot-testing.moolumi.io?token=${PULUMI_API_TOKEN} \
-u pulumi -p pulumi \
${ROOT}/sdk/python/bin/dist/*.whl
+fi
