Skip to content

v1.0.9: Add in-game UI to manage cultural origins #11

v1.0.9: Add in-game UI to manage cultural origins

v1.0.9: Add in-game UI to manage cultural origins #11

Workflow file for this run

name: Create Release
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Get version from module.json
id: get_version
run: |
VERSION=$(cat module.json | grep -o '"version": *"[^"]*"' | grep -o '"[^"]*"$' | tr -d '"')
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "Version: $VERSION"
- name: Create module.zip
run: |
zip -r module.zip module.json README.md scripts/ styles/ lang/ -x "*.git*"
- name: Create Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.get_version.outputs.version }}
name: v${{ steps.get_version.outputs.version }}
body: |
## Aspects of Verun: Dual Backgrounds v${{ steps.get_version.outputs.version }}
Automatic release created.
### Installation
Use this manifest URL in Foundry VTT:
```
https://raw.githubusercontent.com/${{ github.repository }}/main/module.json
```
files: module.zip
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}