Skip to content

Commit cfb8c52

Browse files
fix doc how to release
1 parent 7527204 commit cfb8c52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/user_guide/how_to_release.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
How to Release?
22
===============
33

4-
#. Use :code:`nox -s release:prepare` to prepare the project for a new release.
4+
#. Use :code:`TAG=<name>` to set a variable named **"TAG"**
5+
#. Use :code:`nox -s release:prepare -- ${TAG}` to prepare the project for a new release.
56
#. Merge your **Pull Request** to the **default branch**
67
#. Use :code:`git remote show origin | sed -n '/HEAD branch/s/.*: //p'` to output the **default branch**
78
#. Use :code:`git checkout <default branch>` Switch to the **default branch**
89
#. Use :code:`git pull` to update branch
9-
#. Use :code:`TAG=<name>` to set a variable named **"TAG"**
1010
#. Use :code:`git tag "${TAG}"` to create a new tag in your repo
1111
#. Use :code:`git push origin "${TAG}"` to push it to remote
1212
#. GitHub workflow **CD** reacts on this tag and starts the release process

0 commit comments

Comments
 (0)