Skip to content

Commit

Permalink
Merge pull request #138 from nicoddemus/adjust-deploy
Browse files Browse the repository at this point in the history
Fix deploy and update instructions
  • Loading branch information
nicoddemus authored Jul 7, 2024
2 parents 358790b + c2ccbfb commit cbff3e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create v${{ github.event.inputs.version }} --target=${{ github.ref_name }} --generate-notes
gh merge --branch ${{ github.ref_name }}
gh release create v${{ github.event.inputs.version }} --target=${{ github.ref_name }}
gh pr merge ${{ github.ref_name }} --merge
8 changes: 6 additions & 2 deletions RELEASING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ To publish a new release ``X.Y.Z``, the steps are as follows:

#. Commit and push the branch to ``upstream`` and open a PR.

#. Once the PR is **green** and **approved**, start the ``deploy`` workflow manually from the branch ``release-VERSION``, passing ``VERSION`` as parameter.
#. Once the PR is **green** and **approved**, start the ``deploy`` workflow:

#. Merge the release PR to ``main``.
.. code-block:: console
gh workflow run deploy.yml -R pytest-dev/pytest-subtests --ref release-VERSION --field version=VERSION
The PR will be automatically merged.

0 comments on commit cbff3e1

Please sign in to comment.