on master help sign in
Require that tags are alpha-X.Y.Z in the alpha period
8a72f65Evan Czaplicki
builder/src/Deps/Website.hs+2−2
@@ -268,7 +268,7 @@ githubCommit :: Name -> Version -> Task.Task String
268githubCommit name version =
268githubCommit name version =
269 let
269 let
270 endpoint =
270 endpoint =
271− "https://api.github.com/repos/" ++ Pkg.toUrl name ++ "/git/refs/tags/temp-" ++ Pkg.versionToString version
271+ "https://api.github.com/repos/" ++ Pkg.toUrl name ++ "/git/refs/tags/alpha-" ++ Pkg.versionToString version
272
272
273 headers =
273 headers =
274 [ ( Http.hUserAgent, "elm-cli" )
274 [ ( Http.hUserAgent, "elm-cli" )
@@ -297,7 +297,7 @@ githubDownload :: Name -> Version -> FilePath -> Task.Task Sha
297githubDownload name version dir =
297githubDownload name version dir =
298 let
298 let
299 endpoint =
299 endpoint =
300− "https://github.com/" ++ Pkg.toUrl name ++ "/zipball/temp-" ++ Pkg.versionToString version ++ "/"
300+ "https://github.com/" ++ Pkg.toUrl name ++ "/zipball/alpha-" ++ Pkg.versionToString version ++ "/"
301 in
301 in
302 Http.run $ Http.anything endpoint $ \request manager ->
302 Http.run $ Http.anything endpoint $ \request manager ->
303 Client.withResponse request manager (githubDownloadHelp dir)
303 Client.withResponse request manager (githubDownloadHelp dir)
builder/src/Reporting/Error/Publish.hs+2−2
@@ -184,8 +184,8 @@ toReport err =
184 , "To tag the most recent commit and push it to GitHub, run this:"
184 , "To tag the most recent commit and push it to GitHub, run this:"
185 ]
185 ]
186 , P.indent 4 $ P.dullyellow $ P.vcat $ map P.text $
186 , P.indent 4 $ P.dullyellow $ P.vcat $ map P.text $
187− [ "git tag -a " ++ vsn ++ " -m \"release version " ++ vsn ++ "\""
187+ [ "git tag -a alpha-" ++ vsn ++ " -m \"preparing for Elm 0.19\""
188− , "git push origin " ++ vsn
188+ , "git push origin alpha-" ++ vsn
189 ]
189 ]
190 , "The -m flag is for a helpful message. Try to make it more informative!"
190 , "The -m flag is for a helpful message. Try to make it more informative!"
191 ]
191 ]