add precautions for "testing an alpha binary" phase
Made two temporary changes:
- disable publishing
- switch to elm-stuff/0.19.1-alpha-1/
The hope is that these things will avoid causing problems for current
or future release.
commit0198a19ad997c3ec034402b98c98e9c0e48b561f
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateMon 8 Jul 2019, 15:50 (7 years ago)
parent536d50c
builder/src/Stuff.hs+1−1
@@ -62,7 +62,7 @@ prepublishDir root =
6262
6363compilerVersion :: FilePath
6464compilerVersion =
65− V.toChars V.compiler
65+ V.toChars V.compiler ++ "-alpha-1"
6666
6767
6868
terminal/src/Publish.hs+5
@@ -367,6 +367,11 @@ verifyBump (Env _ cache manager _ _) pkg vsn newDocs knownVersions@(Registry.Kno
367367
368368register :: Http.Manager -> Pkg.Name -> V.Version -> Docs.Documentation -> String -> Http.Sha -> Task.Task Exit.Publish ()
369369register 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
370375 let
371376 url =
372377 Website.route "/register"