generated from Templates/Baseline
OCram85
d388c2f46b
### 📖 Summary - adds vscode task to update changelog - updates changelog ### 📑 Test Plan ✅ CI pipeline tests (Default) ### 💬 Details _No response_ ### 📚 Additional Notes _No response_ Reviewed-on: CodeServer/arkanum#90 Co-authored-by: OCram85 <marco.blessing@googlemail.com> Co-committed-by: OCram85 <marco.blessing@googlemail.com>
38 lines
1000 B
JSON
38 lines
1000 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Update GiteaChangelog",
|
|
"type": "shell",
|
|
"command": [
|
|
"mv 'CHANGELOG.md' 'CHANGELOG.back' &&",
|
|
"changelog -m '${input:Milestone}' --token '${input:GiteaToken}' -c .changelog.yml generate > CHANGELOG.md &&",
|
|
"echo '' >> CHANGELOG.md &&",
|
|
"cat CHANGELOG.back >> CHANGELOG.md &&",
|
|
"rm CHANGELOG.back"
|
|
],
|
|
"problemMatcher": []
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "GiteaToken",
|
|
"type": "command",
|
|
"command": "shellCommand.execute",
|
|
"args": {
|
|
"command": "echo $GITEA_TOKEN",
|
|
"description": "Your personal Gitea access token"
|
|
}
|
|
},
|
|
{
|
|
"id": "Milestone",
|
|
"type": "command",
|
|
"command": "shellCommand.execute",
|
|
"args": {
|
|
"description": "Select or enter a open milestone",
|
|
"command": "tea milestone ls -f title --output simple"
|
|
}
|
|
}
|
|
]
|
|
}
|