File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,11 @@ jobs:
98
98
- name : Get Tag
99
99
id : get_tag
100
100
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
102
102
run : |
103
103
DIST_FOLDER="./dist"
104
104
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 ]")
106
106
echo "$releases" | jq -c '.[]' | while read -r release; do
107
107
version=$(echo "$release" | jq -r '.tag_name')
108
108
asset=$(echo "$release" | jq -c '.assets[] | select(.name | endswith(".dmg"))' | head -n 1)
You can’t perform that action at this time.
0 commit comments