Skip to content

Commit

Permalink
Get rid of rc1 prefix on published packages
Browse files Browse the repository at this point in the history
  • Loading branch information
evancz committed Aug 20, 2018
1 parent eb236ca commit 169bac7
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
Original file line number Diff line number Diff line change
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/rc1-" ++ Pkg.versionToString version
"https://api.github.com/repos/" ++ Pkg.toUrl name ++ "/git/refs/tags/" ++ 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/rc1-" ++ Pkg.versionToString version ++ "/"
"https://github.com/" ++ Pkg.toUrl name ++ "/zipball/" ++ 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
Original file line number Diff line number Diff line change
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 rc1-" ++ vsn ++ " -m \"preparing for Elm 0.19\""
, "git push origin rc1-" ++ vsn
[ "git tag -a " ++ vsn ++ " -m \"preparing for Elm 0.19\""
, "git push origin " ++ vsn
]
, "The -m flag is for a helpful message. Try to make it more informative!"
]
Expand Down

0 comments on commit 169bac7

Please sign in to comment.