Skip to content

Commit

Permalink
Merge pull request #9 from DC23/orffen#76-Release-Automation
Browse files Browse the repository at this point in the history
orffen#76 release automation
  • Loading branch information
DC23 authored Nov 28, 2024
2 parents ab76164 + bd3b411 commit 7a9bf73
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 1 addition & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 3 additions & 3 deletions system.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
}

0 comments on commit 7a9bf73

Please sign in to comment.