Skip to content

Commit 7c021ff

Browse files
Read last 10 releases instead
1 parent c2699e9 commit 7c021ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ echo "Release $RELEASE_TAG does not exist"
3030

3131
# Get previous n versions from GitHub releases
3232
echo "Fetching version history from GitHub releases..."
33-
PREVIOUS_VERSIONS=$(gh release list --limit 100 --json tagName --jq '.[].tagName' | sort -r -V | head -n 5 | sed 's/^v//')
33+
PREVIOUS_VERSIONS=$(gh release list --limit 100 --json tagName --jq '.[].tagName' | sort -r -V | head -n 10 | sed 's/^v//')
3434

3535
if [ -z "$PREVIOUS_VERSIONS" ]; then
3636
echo "No previous versions found, skipping patch generation"

0 commit comments

Comments
 (0)