Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/images/squash-merges.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion docs/samples/release.container.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ The workflow performs the following steps:

- Your repository must follow [conventional commit](https://conventionalcommits.org/) format
- We recommend `samples/check.pr-title.yaml` to enforce this on pull requests
- Your repository settings should only allow squash merges, and use the PR title as the commit message for commit messages to be correctly parsed by semantic-release
- Your repository settings should ONLY allow squash merges, and use the PR title as the commit message for commit messages to be correctly parsed by semantic-release
![GitHub repository settings](../images/squash-merges.png)


- You need a `samples/release.config.js` in your repository root to configure semantic-release
- You need a `Dockerfile` in your repository root (or update the `dockerfile` parameter)
- You need to follow the relevant language steps
Expand Down
5 changes: 4 additions & 1 deletion docs/samples/release.pypi.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ The `semantic-release` step can still be a reusable workflow call, and the `publ

- Your repository must follow [conventional commit](https://conventionalcommits.org/) format
- We recommend `samples/check.pr-title.yaml` to enforce this on pull requests
- Your repository settings should only allow squash merges, using the PR title as the commit message so semantic-release can parse it correctly
- Your repository settings should ONLY allow squash merges, using the PR title as the commit message so semantic-release can parse it correctly
![GitHub repository settings](../images/squash-merges.png)


- You need a `release.config.js` in your repository root — copy from `samples/release.config.js` and update `repositoryUrl`
- Your package must be configured to derive its version from git tags (see [Python setup](#python-setup) below)
- You must configure a PyPI trusted publisher for your package (see [PyPI setup](#pypi-trusted-publisher-setup) below)
Expand Down
Loading