Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Nowak-Liebiediew authored Oct 23, 2023
1 parent fdc5c1c commit 8ddeeff
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,14 @@ Mergify can take care of enforcing all of this. Just add the `automerge-squash`

> [!IMPORTANT]
> The 5-line script shared below summarizes the what you need to do to executed the process. It is **not recommended** to actually run it this way, because the script will approve and merge the PR - something you should do manually!
```
gh workflow run "prepare-release.yml" -f "semverBump=major" && sleep 3
RUN_ID=$(gh run list --workflow=prepare-release.yml --status in_progress --json databaseId --jq '.[0].databaseId')
gh run watch $RUN_ID
gh pr review $(gh pr list --json number --jq '.[0].number') --approve
gh pr merge $(gh pr list --json number --jq '.[0].number')
# ... and you're done with releasing and publishing!
```
> ```
> gh workflow run "prepare-release.yml" -f "semverBump=major" && sleep 3
> RUN_ID=$(gh run list --workflow=prepare-release.yml --status in_progress --json databaseId --jq '.[0].databaseId')
> gh run watch $RUN_ID
> gh pr review $(gh pr list --json number --jq '.[0].number') --approve
> gh pr merge $(gh pr list --json number --jq '.[0].number')
> # ... and you're done with releasing and publishing!
> ```
## Release process
Expand Down

0 comments on commit 8ddeeff

Please sign in to comment.