Skip to content

Commit 4536a77

Browse files
committed
ci(Release): 👷 Attempt to fix autopublish step
1 parent 8682ea1 commit 4536a77

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
env:
5656
# version: ${{ steps.version.outputs.prop }}
5757
manifest: https://github.com/${{ github.repository }}/releases/latest/download/${{ env.TYPE }}.json
58-
download: https://github.com/${{ github.repository }}/releases/download/${{ github.event.release.tag_name }}/${{ steps.name.outputs.prop }}-fvtt_v${{ steps.version.outputs.prop }}.zip
58+
download: https://github.com/${{ github.repository }}/releases/download/${{ github.event.release.tag_name }}/${{ env.TYPE }}.zip
5959

6060
# Generates the changelog.
6161
# - name: 📜 Generate Changelog
@@ -68,7 +68,7 @@ jobs:
6868
- name: 📦 Create ZIP Archive
6969
run: |
7070
cd dist/
71-
zip -r ../${{ steps.name.outputs.prop }}-fvtt_v${{ steps.version.outputs.prop }}.zip *
71+
zip -r ../${{ env.TYPE }}.zip *
7272
7373
# Creates the release with its artifacts and description.
7474
- name: 🚀 Update Release with Artifacts
@@ -80,7 +80,7 @@ jobs:
8080
prerelease: false
8181
tag: ${{ steps.version.outputs.tag }}
8282
body: ${{ github.event.release.body }}
83-
artifacts: './${{ steps.name.outputs.prop }}-fvtt_v${{ steps.version.outputs.prop }}.zip, ./dist/${{ env.TYPE }}.json'
83+
artifacts: './${{ env.TYPE }}.zip, ./dist/${{ env.TYPE }}.json'
8484
token: ${{ secrets.GITHUB_TOKEN }}
8585

8686
# Publishes the release to the FoundryVTT's package repository.

static/module.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "1.0.0",
66
"compatibility": {
77
"minimum": 10,
8-
"verified": "10.290",
8+
"verified": "10.291",
99
"maximum": 11
1010
},
1111
"authors": [

0 commit comments

Comments
 (0)