Skip to content

Commit

Permalink
docs(migration): fix comments about publish command (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
codejedi365 committed Dec 7, 2023
1 parent 90db8f1 commit 90380d7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/migrating_from_v7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,16 +176,18 @@ To achieve a similar flow of logic such as
4. Push the changes to the metadata and changelog to the remote repository
5. Create a release in the remote version control system
6. Build a wheel
7. Publish the wheel to PyPI and to the release in the remote VCS
7. Publish the wheel to PyPI
8. Publish the distribution artifacts to the release in the remote VCS

You should run::

semantic-release version
twine upload dist/* # or whichever path your distributions are placed in
semantic-release publish

With steps 1-5 being handled by the :ref:`cmd-version` command, and steps 6 and 7
handled by the :ref:`cmd-publish` command.
With steps 1-6 being handled by the :ref:`cmd-version` command, step 7 being left
to the developer to handle, and lastly step 8 to be handled by the
:ref:`cmd-publish` command.

.. _breaking-removed-define-option:

Expand Down

0 comments on commit 90380d7

Please sign in to comment.