Skip to content

Commit 0198a19

Browse files
committed
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.
1 parent 536d50c commit 0198a19

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

builder/src/Stuff.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ prepublishDir root =
6262

6363
compilerVersion :: FilePath
6464
compilerVersion =
65-
V.toChars V.compiler
65+
V.toChars V.compiler ++ "-alpha-1"
6666

6767

6868

terminal/src/Publish.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,11 @@ verifyBump (Env _ cache manager _ _) pkg vsn newDocs knownVersions@(Registry.Kno
367367

368368
register :: Http.Manager -> Pkg.Name -> V.Version -> Docs.Documentation -> String -> Http.Sha -> Task.Task Exit.Publish ()
369369
register 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"

0 commit comments

Comments
 (0)