Compare commits

...

3 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

View File

@@ -37,9 +37,10 @@ jobs:
- name: Setting commit message
id: commit-message
run: COMMIT_MESSAGE=$(git log -1 --pretty=%B); echo "COMMIT_MESSAGE=$COMMIT_MESSAGE" >> "$GITHUB_OUTPUT" && echo "commit message is '$COMMIT_MESSAGE'"
- name: Retrieve commit message
run: echo "${{ steps.commit-message.outputs.COMMIT_MESSAGE }}"
run: >
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
- name: Update Release with Files
@@ -49,4 +50,5 @@ jobs:
files: |-
./dist/module.json
./dist/module.zip
body: ${{ steps.commit-message.outputs.COMMIT_MESSAGE }}
body: |-
${{ steps.commit-message.outputs.COMMIT_MESSAGE }}