mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-03-15 21:16:46 +01:00
Use /auth-token for stackage-upload
This commit is contained in:
parent
b5a96fa26e
commit
6fd0449c90
@ -9,7 +9,7 @@ import System.Exit (exitFailure)
|
|||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = withManager defaultManagerSettings $ \m -> do
|
main = withManager defaultManagerSettings $ \m -> do
|
||||||
args <- getArgs
|
args <- getArgs
|
||||||
token <- getEnv "STACKAGE_AUTH_TOKEN"
|
token <- readFile "/auth-token"
|
||||||
(filepath, alias) <-
|
(filepath, alias) <-
|
||||||
case args of
|
case args of
|
||||||
[x, y] -> return (x, y)
|
[x, y] -> return (x, y)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user