Compare commits
4 Commits
v20250207.
...
v20250207.
| Author | SHA1 | Date | |
|---|---|---|---|
|
9d87de53f0
|
|||
|
4f0513c72c
|
|||
|
5e064a8dfb
|
|||
|
d0101c9666
|
@@ -35,11 +35,19 @@ jobs:
|
||||
&& cp src/module.json dist/
|
||||
&& echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\"
|
||||
|
||||
- name: Setting commit message
|
||||
- name: Setting commit message variable
|
||||
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 }}"
|
||||
# Per
|
||||
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#example-of-a-multiline-string
|
||||
run: |
|
||||
{
|
||||
echo 'COMMIT_MESSAGE<<EOF'
|
||||
git log -1 --pretty=%B
|
||||
echo EOF
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: retreive commit message
|
||||
run: echo "commit message is ${{ steps.commit-message.outputs.COMMIT_MESSAGE }}"
|
||||
|
||||
# Create a release for this specific version
|
||||
- name: Update Release with Files
|
||||
@@ -49,4 +57,5 @@ jobs:
|
||||
files: |-
|
||||
./dist/module.json
|
||||
./dist/module.zip
|
||||
body: ${{ steps.commit-message.outputs.COMMIT_MESSAGE }}
|
||||
body: |-
|
||||
${{ steps.commit-message.outputs.COMMIT_MESSAGE }}
|
||||
Reference in New Issue
Block a user