on master help sign in
do not ship unintended files during sdist
commit04f84d34598b8d3f125b4919f51afb4b233f281e authorHarendra Kumar <harendra.kumar@gmail.com> dateTue 18 Feb 2020, 20:18 (7 years ago) parent678a404
1 file changed+6
MAINTAINING.md+6
MAINTAINING.md+6
@@ -82,6 +82,12 @@
8282 package version (`git tag vX.Y.Z && git push -f origin vX.Y.Z`).
8383 * Mask out the build status lines from the README
8484 * Upload to hackage
85+ * Use a clean workspace to create source distribution
86+ by freshly cloning the git repository. The reason for
87+ doing this is that we use wild-cards in cabal file for
88+ `extra-source-files`, these wild-cards may match additional
89+ files lying around in the workspace and unintentionally ship
90+ them as well.
8591 * `cabal v2-sdist`; `cabal upload --publish <tarpath>`
8692 * `stack upload .`
8793 * Add to stackage (`build-constraints.yaml` in Stackage repo) if needed