Compare commits

..

2 Commits

Author SHA1 Message Date
d4b5c3fe66 20250207.092640
All checks were successful
Release Creation / build (release) Successful in 24s
2025-02-07 09:26:40 -06:00
6ac5ceb26a 20250207.092516
All checks were successful
Release Creation / build (release) Successful in 30s
2025-02-07 09:25:16 -06:00

View File

@@ -14,8 +14,7 @@ jobs:
- name: Extract tag version number - name: Extract tag version number
id: get_version id: get_version
uses: battila7/get-version-action@v2 uses: battila7/get-version-action@v2
- run: echo ${{ steps.get_version.outputs.version-without-v }} ${{ github.repository }} ${{ github.event.release.tag_name }} ${{ secrets.GITHUB_TOKEN }} ${{ github.event.release.name }}
# Substitute the Manifest and Download URLs in the module.json # Substitute the Manifest and Download URLs in the module.json
- name: Substitute Manifest and Download Links For Versioned Ones - name: Substitute Manifest and Download Links For Versioned Ones
id: sub_manifest_link_version id: sub_manifest_link_version
@@ -30,7 +29,14 @@ jobs:
# Create a zip file with all files required by the module to add to the release # Create a zip file with all files required by the module to add to the release
- name: Create files (module.zip, module.json) for release - name: Create files (module.zip, module.json) for release
run: mkdir -p dist && git archive --format zip --output dist/module.zip HEAD:src && cp src/module.json dist/ && echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\" run: >
mkdir -p dist
&& git archive --format zip --output dist/module.zip HEAD:src
&& cp src/module.json dist/
&& echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\"
- name: Echo commit message
run: echo "`${{ github.event.head_commit.message }}`"
# Create a release for this specific version # Create a release for this specific version
- name: Update Release with Files - name: Update Release with Files
@@ -39,4 +45,5 @@ jobs:
with: with:
files: |- files: |-
./dist/module.json ./dist/module.json
./dist/module.zip ./dist/module.zip
body: ${{ github.event.head_commit.message }}