Skip to content

Commit 3e73c52

Browse files
committed
Increase delta creation number to last 5 releases
1 parent 77dc017 commit 3e73c52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ jobs:
9898
- name: Get Tag
9999
id: get_tag
100100
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
101-
- name: Fetch and download last 3 DMGs
101+
- name: Fetch and download last 5 DMGs
102102
run: |
103103
DIST_FOLDER="./dist"
104104
EXCLUDE_TAG="${{ steps.get_tag.outputs.tag }}"
105-
releases=$(cat releases.json | jq "[.[] | select(.prerelease == false and .tag_name != \"$EXCLUDE_TAG\")] | .[:3]")
105+
releases=$(cat releases.json | jq "[.[] | select(.prerelease == false and .tag_name != \"$EXCLUDE_TAG\")] | .[:5]")
106106
echo "$releases" | jq -c '.[]' | while read -r release; do
107107
version=$(echo "$release" | jq -r '.tag_name')
108108
asset=$(echo "$release" | jq -c '.assets[] | select(.name | endswith(".dmg"))' | head -n 1)

0 commit comments

Comments
 (0)