Skip to content

Commit 169bac7

Browse files
committed
Get rid of rc1 prefix on published packages
1 parent eb236ca commit 169bac7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

builder/src/Deps/Website.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ githubCommit :: Name -> Version -> Task.Task String
269269
githubCommit 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
298298
githubDownload 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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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
]

0 commit comments

Comments
 (0)