on master help sign in
Get rid of rc1 prefix on published packages
commit169bac725e13ec4190dd971a3b580631074e98a6 authorEvan Czaplicki <evancz@users.noreply.github.com> dateMon 20 Aug 2018, 09:08 (8 years ago) parenteb236ca
2 files changed+4−4
builder/src/Deps/Website.hs+2−2 builder/src/Reporting/Exit/Publish.hs+2−2
builder/src/Deps/Website.hs+2−2
@@ -269,7 +269,7 @@ githubCommit :: Name -> Version -> Task.Task String
269269githubCommit name version =
270270 let
271271 endpoint =
272− "https://api.github.com/repos/" ++ Pkg.toUrl name ++ "/git/refs/tags/rc1-" ++ Pkg.versionToString version
272+ "https://api.github.com/repos/" ++ Pkg.toUrl name ++ "/git/refs/tags/" ++ Pkg.versionToString version
273273
274274 headers =
275275 [ ( Http.hUserAgent, "elm-cli" )
@@ -298,7 +298,7 @@ githubDownload :: Name -> Version -> FilePath -> Task.Task Sha
298298githubDownload name version dir =
299299 let
300300 endpoint =
301− "https://github.com/" ++ Pkg.toUrl name ++ "/zipball/rc1-" ++ Pkg.versionToString version ++ "/"
301+ "https://github.com/" ++ Pkg.toUrl name ++ "/zipball/" ++ Pkg.versionToString version ++ "/"
302302 in
303303 Http.run $ Http.anything endpoint $ \request manager ->
304304 Client.withResponse request manager (githubDownloadHelp dir)
builder/src/Reporting/Exit/Publish.hs+2−2
@@ -182,8 +182,8 @@ toReport exit =
182182 , "To tag the most recent commit and push it to GitHub, run this:"
183183 ]
184184 , D.indent 4 $ D.dullyellow $ D.vcat $ map D.fromString $
185− [ "git tag -a rc1-" ++ vsn ++ " -m \"preparing for Elm 0.19\""
186− , "git push origin rc1-" ++ vsn
185+ [ "git tag -a " ++ vsn ++ " -m \"preparing for Elm 0.19\""
186+ , "git push origin " ++ vsn
187187 ]
188188 , "The -m flag is for a helpful message. Try to make it more informative!"
189189 ]