Skip to content

Commit

Permalink
Update release metadata gen
Browse files Browse the repository at this point in the history
  • Loading branch information
Kas-tle authored Apr 18, 2024
1 parent d7451cc commit 1c2f9cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ jobs:
cat metadata.json
echo
version=$(cat manifest.json | jq -r '.header.version | join(".")')
echo "Version: ${version}"
cat metadata.json | jq --arg project "${PROJECT}" --arg version "${version}" '
.
| .changes |= map({"commit", "summary", "message"})
| .downloads |= map_values({"name", "sha256"})
| {$project, "repo", $version, "number": .build, "changes", "downloads"}
' | tee metadata.json
echo ""
- name: Publish to Downloads API
if: ${{ success() && github.repository == 'GeyserMC/GeyserOptionalPack' && github.ref_name == 'master' }}
Expand Down

0 comments on commit 1c2f9cc

Please sign in to comment.