publish npm packages as public (#4263)

CHANGELOG_BEGIN
CHANGELOG_END
This commit is contained in:
Robin Krom 2020-01-29 17:26:46 +01:00 committed by GitHub
parent 4d324f6aaf
commit ce9cd93519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ main = do
(writeFile npmrcPath "//registry.npmjs.org/:_authToken=${NPM_TOKEN}")
(\() -> Dir.removeFile npmrcPath)
(\() -> forM_ npmPackages
$ \rule -> liftIO $ callCommand $ "bazel run " <> rule <> ":npm_package.publish")
$ \rule -> liftIO $ callCommand $ "bazel run " <> rule <> ":npm_package.publish --access public")
-- set variables for next steps in Azure pipelines
liftIO . putStrLn $ "##vso[task.setvariable variable=has_released;isOutput=true]true"