@@ -82,6 +82,12 @@
82 package version (`git tag vX.Y.Z && git push -f origin vX.Y.Z`).
82 package version (`git tag vX.Y.Z && git push -f origin vX.Y.Z`).
83 * Mask out the build status lines from the README
83 * Mask out the build status lines from the README
84 * Upload to hackage
84 * 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
85 * `cabal v2-sdist`; `cabal upload --publish <tarpath>`
91 * `cabal v2-sdist`; `cabal upload --publish <tarpath>`
86 * `stack upload .`
92 * `stack upload .`
87 * Add to stackage (`build-constraints.yaml` in Stackage repo) if needed
93 * Add to stackage (`build-constraints.yaml` in Stackage repo) if needed