Skip to content

Commit

Permalink
Fix updating release.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nebularg committed May 19, 2021
1 parent ae90180 commit 5fc8ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2591,7 +2591,7 @@ if [ -z "$skip_zipfile" ]; then
-H "Authorization: token $github_token" \
"$_gh_metadata_url"
) && {
_gh_metadata=$( jq -s '.[0].releases + .[1].releases | unique_by(.filename) | { releases: [.[]] }' <<< "${_gh_previous_metadata} ${_gh_metadata}" )
jq -sc '.[0].releases + .[1].releases | unique_by(.filename) | { releases: [.[]] }' <<< "${_gh_previous_metadata} ${_gh_metadata}" > "$versionfile"
} || {
echo "Warning: Unable to update release.json ($?)"
}
Expand Down

0 comments on commit 5fc8ce7

Please sign in to comment.