diff --git a/.github/workflows/release-creation.yml b/.github/workflows/release-creation.yml index 6f50b94..0d45730 100644 --- a/.github/workflows/release-creation.yml +++ b/.github/workflows/release-creation.yml @@ -35,8 +35,8 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} name: ${{ github.event.release.name }} allowUpdates: true # Set this to false if you want to prevent updating existing releases - draft: false - prerelease: false + draft: ${{ github.event.release.draft }} + prerelease: ${{ github.event.release.prerelease }} artifacts: './system.json, ./basicfantasyrpg.zip' tag: ${{ github.event.release.tag_name }} - body: ${{ github.event.release.body }} + body: ${{ github.event.release.body }} \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 888e344..06d8b57 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -7,10 +7,9 @@ on: # branches to consider in the event; optional, defaults to all branches: - main - # pull_request event is required only for autolabeler pull_request: # Only following types are handled by the action, but one can default to all as well - types: [opened, reopened, synchronize] + types: [edited, labeled, unlabeled, opened, reopened, synchronize] permissions: contents: read diff --git a/README.md b/README.md index 85f2c1e..774ee95 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,21 @@ # Basic Fantasy RPG for FoundryVTT +![GitHub Release](https://img.shields.io/github/v/release/orffen/basicfantasyrpg?logo=GitHub&label=Release) +[![Static Badge](https://img.shields.io/badge/Foundry%20Version-v11+-orange?logo=foundry-virtual-tabletop)](https://foundryvtt.com/) +![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/orffen/basicfantasyrpg?logo=GitHub&label=Issues) +![GitHub Issues or Pull Requests by label](https://img.shields.io/github/issues/orffen/basicfantasyrpg/bug?logo=GitHub&label=Open%20Bugs&color=red) +![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/orffen/basicfantasyrpg/total?logo=GitHub&label=Total%20Downloads) +![GitHub Downloads (all assets, latest release)](https://img.shields.io/github/downloads/orffen/basicfantasyrpg/latest/total?logo=GitHub&label=Downloads%3A%20Latest) + This is the [Basic Fantasy RPG](https://www.basicfantasy.org/) system for FoundryVTT. Please also see the [companion compendium module](https://github.com/Stew-rt/basicfantasyrpg-corerules-en), which contains items, spells, monsters etc. for easy use with the system. ## Installation This system is available within FoundryVTT, or you can manually install it by using the manifest link below: -https://raw.githubusercontent.com/orffen/basicfantasyrpg/main/system.json +```html +https://github.com/orffen/basicfantasyrpg/releases/latest/download/system.json +``` ## Usage diff --git a/system.json b/system.json index 75ec32b..cab5f5b 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "id": "basicfantasyrpg", "title": "Basic Fantasy RPG", "description": "The Basic Fantasy RPG system for FoundryVTT!", - "version": "r14", + "version": "dev", "compatibility": { "minimum": "11", "verified": "12" @@ -44,7 +44,7 @@ "primaryTokenAttribute": "hitPoints", "secondaryTokenAttribute": null, "url": "https://github.com/orffen/basicfantasyrpg", - "manifest": "https://raw.githubusercontent.com/orffen/basicfantasyrpg/main/system.json", - "download": "https://github.com/orffen/basicfantasyrpg/archive/refs/tags/r14.zip", + "manifest": "Will be populated by release creation workflow", + "download": "Will be populated by release creation workflow", "license": "LICENSE.txt" } \ No newline at end of file