Skip to content

Commit

Permalink
docs: allow to specify release notes in update command
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlatz committed Dec 20, 2024
1 parent c756ae3 commit 3138431
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,13 @@ composer docker:update-ranges
## Create a minor release after ranges autoupdate

```shell
read "Pull request number?PR_NUMBER"
read "PR_NUMBER?Pull request number: "
gh pr merge --auto -dr $PR_NUMBER
CURRENT_VERSION=$(git tag --sort=-v:refname | head -n 1)
IFS='.' read -r major minor patch <<< "$CURRENT_VERSION"
NEW_VERSION="$major.$minor.$((patch + 1))"
gh release create $NEW_VERSION --title $NEW_VERSION --body "Updates ranges"
read "RELEASE_NOTES?Release notes: "
gh release create $NEW_VERSION --title $NEW_VERSION --notes $RELEASE_NOTES
```


Expand Down

0 comments on commit 3138431

Please sign in to comment.