on master help sign in
Require that tags are alpha-X.Y.Z in the alpha period
commit8a72f65c9bcb0cd7cc50616c52918c4911e1644f authorEvan Czaplicki <evancz@users.noreply.github.com> dateThu 22 Feb 2018, 18:23 (9 years ago) parent0f03b36
2 files changed+4−4
builder/src/Deps/Website.hs+2−2 builder/src/Reporting/Error/Publish.hs+2−2
builder/src/Deps/Website.hs+2−2
@@ -268,7 +268,7 @@ githubCommit :: Name -> Version -> Task.Task String
268268githubCommit name version =
269269 let
270270 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
272272
273273 headers =
274274 [ ( Http.hUserAgent, "elm-cli" )
@@ -297,7 +297,7 @@ githubDownload :: Name -> Version -> FilePath -> Task.Task Sha
297297githubDownload name version dir =
298298 let
299299 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 ++ "/"
301301 in
302302 Http.run $ Http.anything endpoint $ \request manager ->
303303 Client.withResponse request manager (githubDownloadHelp dir)
builder/src/Reporting/Error/Publish.hs+2−2
@@ -184,8 +184,8 @@ toReport err =
184184 , "To tag the most recent commit and push it to GitHub, run this:"
185185 ]
186186 , P.indent 4 $ P.dullyellow $ P.vcat $ map P.text $
187− [ "git tag -a " ++ vsn ++ " -m \"release version " ++ vsn ++ "\""
188− , "git push origin " ++ vsn
187+ [ "git tag -a alpha-" ++ vsn ++ " -m \"preparing for Elm 0.19\""
188+ , "git push origin alpha-" ++ vsn
189189 ]
190190 , "The -m flag is for a helpful message. Try to make it more informative!"
191191 ]