Compare commits

..

4 Commits

Author SHA1 Message Date
4f0513c72c Update commit message formatting
Some checks failed
Release Creation / build (release) Failing after 26s
- Replace newline characters with line breaks in commit message body.
- Enhance readability by using a single line break between each line of the commit message.
2025-02-07 10:05:37 -06:00
5e064a8dfb 20250207.100205
All checks were successful
Release Creation / build (release) Successful in 27s
2025-02-07 10:02:05 -06:00
d0101c9666 Update workflow to use environment variables
Some checks failed
Release Creation / build (release) Failing after 23s
- The workflow has been updated to use environment variables instead of hardcoded values.
- This change improves the flexibility and maintainability of the workflow.
- The changes include using `$GITHUB_OUTPUT` to store the commit message and `$COMMIT_MESSAGE` to retrieve it.
2025-02-07 09:55:18 -06:00
fc88596821 20250207.095231
All checks were successful
Release Creation / build (release) Successful in 26s
2025-02-07 09:52:31 -06:00

View File

@@ -36,9 +36,11 @@ jobs:
&& echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\" && echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\"
- name: Setting commit message - name: Setting commit message
run: echo "COMMIT_MSG=$(git log -1 --pretty=%B)" >> "$GITHUB_ENV" && echo "COMMIT MESSAGE IS `$COMMIT_MSG`" id: commit-message
- name: Retrieve commit message run: >
run: echo "${{ env.COMMIT_MESSAGE }}" COMMIT_MESSAGE=$(git log -1 --pretty=%B);
echo "COMMIT_MESSAGE=$COMMIT_MESSAGE" >> "$GITHUB_OUTPUT"
&& echo "commit message is '$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
@@ -48,4 +50,5 @@ jobs:
files: |- files: |-
./dist/module.json ./dist/module.json
./dist/module.zip ./dist/module.zip
body: ${{ env.COMMIT_MESSAGE }} body: |-
${{ steps.commit-message.outputs.COMMIT_MESSAGE }}