on master help sign in
add precautions for "testing an alpha binary" phase
0198a19Evan Czaplicki
builder/src/Stuff.hs+1−1
@@ -62,7 +62,7 @@ prepublishDir root =
62
62
63compilerVersion :: FilePath
63compilerVersion :: FilePath
64compilerVersion =
64compilerVersion =
65− V.toChars V.compiler
65+ V.toChars V.compiler ++ "-alpha-1"
66
66
67
67
68
68
terminal/src/Publish.hs+5
@@ -367,6 +367,11 @@ verifyBump (Env _ cache manager _ _) pkg vsn newDocs knownVersions@(Registry.Kno
367
367
368register :: Http.Manager -> Pkg.Name -> V.Version -> Docs.Documentation -> String -> Http.Sha -> Task.Task Exit.Publish ()
368register :: Http.Manager -> Pkg.Name -> V.Version -> Docs.Documentation -> String -> Http.Sha -> Task.Task Exit.Publish ()
369register manager pkg vsn docs commitHash sha =
369register manager pkg vsn docs commitHash sha =
370+ if True then
371+ Task.io $ putStrLn $
372+ "Publishing is disabled in this ALPHA release.\n\
373+ \Publish with 0.19.0 for now.\n"
374+ else
370 let
375 let
371 url =
376 url =
372 Website.route "/register"
377 Website.route "/register"