Skip to content

Commit

Permalink
Stop using SemVer
Browse files Browse the repository at this point in the history
  • Loading branch information
BoltsJ committed Aug 14, 2021
1 parent e86473b commit cf9a2d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 15,18 @@ jobs:
- run: npm install
- run: npm run build:foundryvtt

# Remove the 'v' from the tag for versioning
- id: get_version
uses: battila7/get-version-action@v2

# Substitute the Manifest and Download URLs in the module.json
- name: Substitute Manifest and Download Links For Versioned Ones
id: sub_manifest_link_version
uses: microsoft/variable-substitution@v1
with:
files: './lancer-initiative/module.json'
env:
version: ${{github.event.release.tag_name}}
version: ${{steps.get_version.outputs.version-without-v}}
manifest: https://github.com/${{github.repository}}/releases/latest/download/module.json
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip

Expand Down
2 changes: 1 addition & 1 deletion src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 4,7 @@
"description": "Implements Lancer's popcorn style initiative in Foundry VTT",
"author": "Bolts",
"type": "module",
"version": "0.6.2-dev",
"version": "20-dev",
"minimumCoreVersion": "0.8.6",
"compatibleCoreVersion": "0.8.8",
"esmodules": [
Expand Down

0 comments on commit cf9a2d8

Please sign in to comment.