Skip to content

Commit

Permalink
Add a section about publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed May 2, 2024
1 parent 9d1e73b commit 034976b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/how-to-source-packages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,13 @@ picked up from the source code repository instead of from Hackage.
location: https://github.com/haskell/vector.git
subdir: vector
*Source code* as a package publisher
------------------------------------

If you are publishing a package to Hackage, you'll first need to create a
``.tar.gz`` archive of your package's source code. This is done with the ``cabal
sdist`` command that names archives after package name and version.

.. _pkg-consumers:

.. [#] Also known as a version control system (VCS) repository.
Expand Down

0 comments on commit 034976b

Please sign in to comment.