Skip to content

Commit

Permalink
Switch tag requirements for next round of binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
evancz committed Jun 22, 2018
1 parent fc972a6 commit bce36b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions builder/src/Deps/Website.hs
Expand Up @@ -269,7 +269,7 @@ githubCommit :: Name -> Version -> Task.Task String
githubCommit name version =
let
endpoint =
"https://api.github.com/repos/" ++ Pkg.toUrl name ++ "/git/refs/tags/beta-" ++ Pkg.versionToString version
"https://api.github.com/repos/" ++ Pkg.toUrl name ++ "/git/refs/tags/rc1-" ++ Pkg.versionToString version

headers =
[ ( Http.hUserAgent, "elm-cli" )
Expand Down Expand Up @@ -298,7 +298,7 @@ githubDownload :: Name -> Version -> FilePath -> Task.Task Sha
githubDownload name version dir =
let
endpoint =
"https://github.com/" ++ Pkg.toUrl name ++ "/zipball/beta-" ++ Pkg.versionToString version ++ "/"
"https://github.com/" ++ Pkg.toUrl name ++ "/zipball/rc1-" ++ Pkg.versionToString version ++ "/"
in
Http.run $ Http.anything endpoint $ \request manager ->
Client.withResponse request manager (githubDownloadHelp dir)
Expand Down
4 changes: 2 additions & 2 deletions builder/src/Reporting/Exit/Publish.hs
Expand Up @@ -182,8 +182,8 @@ toReport exit =
, "To tag the most recent commit and push it to GitHub, run this:"
]
, D.indent 4 $ D.dullyellow $ D.vcat $ map D.fromString $
[ "git tag -a beta-" ++ vsn ++ " -m \"preparing for Elm 0.19\""
, "git push origin beta-" ++ vsn
[ "git tag -a rc1-" ++ vsn ++ " -m \"preparing for Elm 0.19\""
, "git push origin rc1-" ++ vsn
]
, "The -m flag is for a helpful message. Try to make it more informative!"
]
Expand Down

0 comments on commit bce36b4

Please sign in to comment.