Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix release script #4275

Merged
4 commits merged into from
Jan 30, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update release/src/Main.hs
Co-Authored-By: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
  • Loading branch information
Robin Krom and cocreature authored Jan 30, 2020
commit 4f84d601ab6f0be9dc8ebf6631a4a91dd14e2bde
2 changes: 1 addition & 1 deletion release/src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ main = do
-- Only upload from the linux machine.
when (osName == "linux") $ do
$logDebug "Uploading npm packages"
liftIO $ bracket
liftIO $ bracket_
(writeFile npmrcPath "//registry.npmjs.org/:_authToken=${NPM_TOKEN}")
(\() -> Dir.removeFile npmrcPath)
This conversation was marked as resolved.
Show resolved Hide resolved
(\() -> forM_ npmPackages
This conversation was marked as resolved.
Show resolved Hide resolved
Expand Down