Compare commits
6 Commits
v20250207.
...
v20250207.
| Author | SHA1 | Date | |
|---|---|---|---|
|
4f0513c72c
|
|||
|
5e064a8dfb
|
|||
|
d0101c9666
|
|||
|
fc88596821
|
|||
|
859339b403
|
|||
|
2dd53178cf
|
@@ -35,8 +35,12 @@ jobs:
|
|||||||
&& cp src/module.json dist/
|
&& cp src/module.json dist/
|
||||||
&& echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\"
|
&& echo \"Done!\nArchived to ${ZIP_FILENAME} and copied module.js.\"
|
||||||
|
|
||||||
- name: Echo commit message
|
- name: Setting commit message
|
||||||
run: echo "`${{ github.event.head_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'"
|
||||||
|
|
||||||
# Create a release for this specific version
|
# Create a release for this specific version
|
||||||
- name: Update Release with Files
|
- name: Update Release with Files
|
||||||
@@ -46,4 +50,5 @@ jobs:
|
|||||||
files: |-
|
files: |-
|
||||||
./dist/module.json
|
./dist/module.json
|
||||||
./dist/module.zip
|
./dist/module.zip
|
||||||
body: ${{ github.event.head_commit.message }}
|
body: |-
|
||||||
|
${{ steps.commit-message.outputs.COMMIT_MESSAGE }}
|
||||||
8
.vscode/tasks.json
vendored
8
.vscode/tasks.json
vendored
@@ -4,10 +4,16 @@
|
|||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"label": "new release",
|
"label": "commit and new release",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "TAG=$(date +\"%Y%m%d.%H%M%S\"); git add . && git commit -m \"$TAG\" && git push origin main && tea release create --title \"$TAG\" --tag=\"v$TAG\"",
|
"command": "TAG=$(date +\"%Y%m%d.%H%M%S\"); git add . && git commit -m \"$TAG\" && git push origin main && tea release create --title \"$TAG\" --tag=\"v$TAG\"",
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "new release",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "TAG=$(date +\"%Y%m%d.%H%M%S\"); git push origin main && tea release create --title \"$TAG\" --tag=\"v$TAG\"",
|
||||||
|
"problemMatcher": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user