Compare commits

...

5 Commits

Author SHA1 Message Date
78e593fbca Thu Feb 6 18:59:00 CST 2025
All checks were successful
Release Creation / build (release) Successful in 27s
2025-02-06 18:59:00 -06:00
7a30f53dce Add zip creation and file listing to release workflow
- Updated main.yml workflow to include zip creation and file listing steps.
- Zip creation now includes only the module.json and src folders.
- Added a step to list the files in the zip for transparency.
2025-02-06 18:54:40 -06:00
f1a1a22939 Thu Feb 6 18:46:57 CST 2025
All checks were successful
Release Creation / build (release) Successful in 29s
2025-02-06 18:46:57 -06:00
ee9a873440 Wed Feb 5 16:02:29 CST 2025
All checks were successful
Release Creation / build (release) Successful in 34s
2025-02-05 16:02:29 -06:00
7ed54aa297 Wed Feb 5 15:59:55 CST 2025
All checks were successful
Release Creation / build (release) Successful in 27s
2025-02-05 15:59:55 -06:00

View File

@@ -14,12 +14,7 @@ jobs:
- name: Extract tag version number
id: get_version
uses: battila7/get-version-action@v2
- run: echo ${{ steps.get_version.outputs.version-without-v }}
- run: echo ${{ github.repository }}
- run: echo ${{ gitea.repository }}
- run: echo ${{ github.event.release.tag_name }}
- run: echo ${{ secrets.GITHUB_TOKEN }}
- run: echo ${{ github.event.release.name }}
- run: echo ${{ steps.get_version.outputs.version-without-v }} ${{ github.repository }} ${{ gitea.repository }} ${{ github.event.release.tag_name }} ${{ secrets.GITHUB_TOKEN }} ${{ github.event.release.name }}
# Substitute the Manifest and Download URLs in the module.json
- name: Substitute Manifest and Download Links For Versioned Ones
@@ -34,7 +29,8 @@ jobs:
download: https://gitea.ascorrea.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip
# Create a zip file with all files required by the module to add to the release
- run: zip -r ./module.zip ./module.zip main.js module.json
- run: zip -r ./module.zip module.json src
- run: echo "Files- $(ls *.json)"
# Create a release for this specific version
- name: Update Release with Files