Skip to content

Commit

Permalink
Add pack compiler to release workflow #265
Browse files Browse the repository at this point in the history
  • Loading branch information
Jagusti committed Jun 11, 2024
1 parent ba8195a commit 1fe18ce
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# Get Foundry CLI
- name: Install FVTT CLI
uses: actions/setup-node@v3
with:
node-version: 18

# Compile compendium packs
- run: npm i -g @foundryvtt/foundryvtt-cli
- run: python pack_util.py pack

# Get Module ID
- name: Get Module ID
Expand Down Expand Up @@ -39,8 +49,8 @@ jobs:
with:
allowUpdates: true # Set this to false if you want to prevent updating existing releases
name: ${{ github.event.release.name }}
draft: ${{ github.event.release.unpublished }}
prerelease: ${{ github.event.release.prerelease }}
# draft: ${{ github.event.release.unpublished }}
# prerelease: ${{ github.event.release.prerelease }}
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: "./module.json, ./${{steps.moduleID.outputs.prop}}.zip"
tag: ${{ github.event.release.tag_name }}
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ All notable changes to this project will be documented in this file. The format
## Unreleased
See [Issue Backlog](../../issues) and [Roadmap](../../milestones).

## [Version 7.0.1](https://github.com/Jagusti/fvtt-wfrp4e-gmtoolkit/releases/tag/7.0.1) (2024-06-11)
* *Added* pack compiler to release workflow to ensure compendium packs are included in module package. [[#265](https://github.com/Jagusti/fvtt-wfrp4e-gmtoolkit/issues/265)]

## [Version 7.0.0](https://github.com/Jagusti/fvtt-wfrp4e-gmtoolkit/releases/tag/7.0.0) (2024-06-11)
* *Changed* compendium packs from `nedb` to `leveldb` format. This database format is used from Foundry v11, and this change breaks GM Toolkit compatibility with earlier versions of Foundry. [#247](https://github.com/Jagusti/fvtt-wfrp4e-gmtoolkit/pull/247)
* Fix Group Test to work with roll dialog changes from WFRP4e 7.1.5.
Expand Down

0 comments on commit 1fe18ce

Please sign in to comment.