From be768d756b1f8b0efb233f207b26c91ef58578d8 Mon Sep 17 00:00:00 2001 From: Sandy Maguire Date: Mon, 25 Jun 2018 13:02:31 +0300 Subject: [PATCH 1/2] mention tarball earlier in sdist --- src/main/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/Main.hs b/src/main/Main.hs index 0acdfab032..4c867e39fc 100644 --- a/src/main/Main.hs +++ b/src/main/Main.hs @@ -776,8 +776,8 @@ sdistCmd sdistOpts go = tarPath <- (distDir ) <$> parseRelFile tarName ensureDir (parent tarPath) liftIO $ L.writeFile (toFilePath tarPath) tarBytes - checkSDistTarball sdistOpts tarPath prettyInfoL [flow "Wrote sdist tarball to", display tarPath] + checkSDistTarball sdistOpts tarPath forM_ (sdoptsTarPath sdistOpts) $ copyTarToTarPath tarPath tarName when (sdoptsSign sdistOpts) (void $ Sig.sign (sdoptsSignServerUrl sdistOpts) tarPath) where From 083dcaa05581f3c30cb007f677cfd5272e62dd65 Mon Sep 17 00:00:00 2001 From: Sandy Maguire Date: Sun, 1 Jul 2018 10:17:49 +0300 Subject: [PATCH 2/2] update changelog --- ChangeLog.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index ec8b2dff9c..6593ebe149 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -14,6 +14,8 @@ Behavior changes: * `stack build` will now announce when sublibraries of a package are being build, in the same way executables, tests, benchmarks and libraries are announced +* `stack sdist` will now announce the destination of the generated tarball, + regardless of whether or not it passed the sanity checks Other enhancements: