-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Empty AVClient
- Loading branch information
0 parents
commit 7a2f918
Showing
15 changed files
with
16,727 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
name: Release FoundryVTT Module | ||
|
||
jobs: | ||
check_version: | ||
name: Check FoundryVTT module version | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 2 | ||
- name: Check for new version | ||
id: check_for_new_version | ||
uses: salsify/action-detect-and-tag-new-version@v2 | ||
with: | ||
create-tag: false | ||
version-command: | | ||
jq -r .version module.json | ||
outputs: | ||
module_previous_version: v${{ steps.check_for_new_version.outputs.previous-version }} | ||
module_current_version: v${{ steps.check_for_new_version.outputs.current-version }} | ||
build: | ||
name: Release FoundryVTT Module | ||
runs-on: ubuntu-latest | ||
needs: check_version | ||
if: ${{ needs.check_version.outputs.module_current_version != needs.check_version.outputs.module_previous_version }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Create tag changelog | ||
id: changelog | ||
run: | | ||
CHANGELOG=$(git log --reverse --pretty=oneline --abbrev-commit ${{ needs.check_version.outputs.module_previous_version }}..HEAD) | ||
# Support for multiline, see | ||
# https://github.com/actions/create-release/pull/11#issuecomment-640071918 | ||
CHANGELOG="${CHANGELOG//'%'/'%25'}" | ||
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}" | ||
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}" | ||
echo "Got changelog: $CHANGELOG" | ||
echo "::set-output name=changelog::$CHANGELOG" | ||
- name: Update download URL | ||
id: update_module_download_url | ||
uses: microsoft/variable-substitution@v1 | ||
with: | ||
files: 'module.json' | ||
env: | ||
download: https://github.com/${{ github.repository }}/releases/download/${{ needs.check_version.outputs.module_current_version }}/${{ github.event.repository.name }}.zip | ||
- name: Package module | ||
run: | | ||
zip -r ./${{ github.event.repository.name }}.zip lang/ src/ CHANGELOG.md module.json README.md | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ needs.check_version.outputs.module_current_version }} | ||
release_name: Release ${{ needs.check_version.outputs.module_current_version }} | ||
body: ${{ steps.changelog.outputs.changelog }} | ||
draft: false | ||
prerelease: false | ||
- name: Upload module zip | ||
id: upload-module-zip | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./${{ github.event.repository.name }}.zip | ||
asset_name: ${{ github.event.repository.name }}.zip | ||
asset_content_type: application/zip | ||
- name: Upload module json | ||
id: upload-module-json | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./module.json | ||
asset_name: module.json | ||
asset_content_type: application/json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# v0.0.1 | ||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# LiveKit AVClient | ||
TODO | ||
|
||
## Installation | ||
You can install this module by using the following manifest URL: https://github.com/bekriebel/fvtt-module-avclient-livekit/releases/latest/download/module.json | ||
|
||
## How to use | ||
TODO | ||
|
||
## Debugging | ||
By default, debug logs are disabled. If additional logs are needed for troubleshooting, `Enable debug logging` can be turned on under the module settings. | ||
|
||
## Changelog | ||
See [CHANGELOG](/CHANGELOG.md) | ||
|
||
## Support my work | ||
[](https://www.patreon.com/bekit) | ||
[](https://ko-fi.com/bekit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"LIVEKITAVCLIENT.debug": "Enable debug logging", | ||
"LIVEKITAVCLIENT.debugHint": "Enables CONFIG.debug.av and CONFIG.debug.avclient for extra logging" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"I18N.LANGUAGE": "Español", | ||
"I18N.MAINTAINERS": "@Viriato139ac#0342", | ||
|
||
"LIVEKITAVCLIENT.debug": "Habilitar registro de errores", | ||
"LIVEKITAVCLIENT.debugHint": "Habilita CONFIG.debug.av y CONFIG.debug.avclient para crear un registro de errores detallado" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"name": "avclient-livekit", | ||
"title": "LiveKit AVClient", | ||
"description": "Use LiveKit to handle A/V", | ||
"author": "bekit", | ||
"authors": [ | ||
{ | ||
"name": "bekit", | ||
"email": "[email protected]", | ||
"url": "https://bekit.net", | ||
"discord": "bekit#4213", | ||
"patreon": "bekit", | ||
"ko-fi": "bekit", | ||
"twitter": "@bekit" | ||
} | ||
], | ||
"version": "0.0.0", | ||
"minimumCoreVersion": "0.8.8", | ||
"compatibleCoreVersion": "0.8.8", | ||
"manifestPlusVersion": "1.1.0", | ||
"esmodules": [ | ||
"src/avclient-livekit.js" | ||
], | ||
"socket": true, | ||
"url": "https://github.com/bekriebel/fvtt-module-avclient-livekit", | ||
"manifest": "https://github.com/bekriebel/fvtt-module-avclient-livekit/releases/latest/download/module.json", | ||
"download": "https://github.com/bekriebel/fvtt-module-avclient-livekit/releases/latest/download/fvtt-module-avclient-livekit.zip", | ||
"readme": "https://github.com/bekriebel/fvtt-module-avclient-livekit/blob/main/README.md", | ||
"changelog": "https://github.com/bekriebel/fvtt-module-avclient-livekit/blob/main/CHANGELOG.md", | ||
"bugs": "https://github.com/bekriebel/fvtt-module-avclient-livekit/issues", | ||
"languages": [ | ||
{ | ||
"lang": "en", | ||
"name": "English", | ||
"path": "lang/en.json" | ||
}, | ||
{ | ||
"lang": "es", | ||
"name": "Español", | ||
"path": "lang/es.json" | ||
} | ||
] | ||
} |
Oops, something went wrong.