Skip to content

Commit

Permalink
0.0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
gambit07 committed Jan 28, 2024
1 parent 987ac84 commit bef5f03
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,19 @@ jobs:

- name: Release Foundry Package
run: |
API_TOKEN="${{ secrets.FOUNDRY_API_TOKEN }}"
PACKAGE_ID="gambits-premades"
PACKAGE_VERSION="${{ steps.get-version.outputs.version }}"
MANIFEST_URL="https://github.com/gambit07/gambits-premades/releases/latest/download/module.json"
RELEASE_NOTES_URL="https://github.com/gambit07/gambits-premades/releases/tag/${{ steps.get-version.outputs.version }}"
FOUNDRY_MIN_VERSION="11"
FOUNDRY_VERIFIED_VERSION="11"
FOUNDRY_MAX_VERSION="11"
curl -X POST "https://api.foundryvtt.com/_api/packages/release_version" \
-H "Content-Type: application/json" \
-H "Authorization: ${API_TOKEN}" \
-H "Authorization: ${{ secrets.FOUNDRY_API_TOKEN }}" \
-d '{
"id": "'"$PACKAGE_ID"'",
"id": "'"gambits-premades"'",
"release": {
"version": "'"$PACKAGE_VERSION"'",
"manifest": "'"$MANIFEST_URL"'",
"notes": "'"$RELEASE_NOTES_URL"'",
"version": "'"${{ steps.get-version.outputs.version }}"'",
"manifest": "'"https://github.com/gambit07/gambits-premades/releases/latest/download/module.json"'",
"notes": "'"https://github.com/gambit07/gambits-premades/releases/tag/${{ steps.get-version.outputs.version }}"'",
"compatibility": {
"minimum": "'"$FOUNDRY_MIN_VERSION"'",
"verified": "'"$FOUNDRY_VERIFIED_VERSION"'",
"maximum": "'"$FOUNDRY_MAX_VERSION"'"
"minimum": "'"11"'",
"verified": "'"11"'",
"maximum": "'"11"'"
}
}
}'

0 comments on commit bef5f03

Please sign in to comment.