Skip to content

Commit

Permalink
Update guide-release-process-0.75.md
Browse files Browse the repository at this point in the history
Fix command to get the base version, currently broken if a patch for a previous version was released in between release candidates (e.g. in case of release sequence 0.78-rc0, 0.77.1, 0.78-rc1 then 0.77.1 would be incorrectly picked as base version for 0.78-rc2 instead of 0.78-rc1).
  • Loading branch information
fabriziocucci authored Jan 29, 2025
1 parent 9f9aca5 commit 15e8832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide-release-process-0.75.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ git switch main
git fetch --all --tags
git pull

BASE_VERSION=$(git tag --sort=-creatordate | grep -E '^v0\.' | head -n2 | tail -n1)
BASE_VERSION=$(git tag -l --sort=-v:refname | grep -E '^v0\.' | head -n2 | tail -n1)

# Generate the changelog
npx @rnx-kit/rn-changelog-generator \
Expand Down

0 comments on commit 15e8832

Please # to comment.