-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adjust release process (#2125)
### 🎯 Goal - make documentation publishing part of the release process, add option to publish documentation without triggering the release of the package - release docs from ANY branch (no limitation) - release to either of the two options (prod or staging) - add PR title check (like we have in `stream-video-js`) I have already changed [the release process](bd32b26) to `workflow_dispatch` - this is just the extension of that commit that takes the documentation into consideration. Obviously this commit should be followed by the removal of the `develop` branch which is no longer needed. By doing that we won't be confusing `semantic-release` which relies on merged commits do do the comparisons: https://github.com/GetStream/stream-chat-react/blob/2145665ef7f872a3c0c82ceb2b9a2f9290ffc8b0/CHANGELOG.md?plain=1#L1-L16 Releasing on `rc` withouth prior merge of `master` -> `develop` -> `rc` caused an issue where a feature that has been already released has been added to the `CHANGELOG.md` as new feature. This process adjustment should reduce the unnecessary overhead. --------- Co-authored-by: MartinCupela <[email protected]>
- Loading branch information
1 parent
bd32b26
commit f7411aa
Showing
4 changed files
with
77 additions
and
58 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Check PR title | ||
|
||
on: | ||
pull_request: | ||
types: [opened, edited, synchronize, reopened] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: aslafy-z/conventional-pr-title-action@v3 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters