From 31ac8e476aa0047b6bda4dbc95e36c24754632a2 Mon Sep 17 00:00:00 2001 From: blakeNaccarato Date: Fri, 5 Jul 2024 13:28:19 -0700 Subject: [PATCH] 2024.1.2 --- .vscode/tasks.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 67f1c704..8dc2e0c0 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -384,7 +384,14 @@ { "label": "task: Bump version", "type": "shell", - "command": ". scripts/Initialize-Shell.ps1; copier update --vcs-ref=$(git rev-parse HEAD:submodules/template) --defaults --data project_version='${input:version}'; towncrier build --version '${input:version}'; git add .; git commit -m '${input:version}'; git tag --sign -m '${input:version}' '${input:version}'; git push; gh release create --discussion-category='announcements' --notes='' --title='${input:version}' --verify-tag '${input:version}'", + "command": ". scripts/Initialize-Shell.ps1; copier update --vcs-ref=$(git rev-parse HEAD:submodules/template) --defaults --data project_version='${input:version}'; towncrier build --yes --version '${input:version}'; git add .; git commit -m '${input:version}'", + "icon": { "id": "tag" }, + "problemMatcher": [] + }, + { + "label": "task: Release version", + "type": "shell", + "command": ". scripts/Initialize-Shell.ps1; git tag --sign -m $($version = (Get-Content '.copier-answers.yml' | Select-String -Pattern '^project_owner_github_username:\\s(.+)$').Matches.Groups[1].value) $version; git push; gh release create --discussion-category='announcements' --notes='' --title=$version --verify-tag $version", "icon": { "id": "tag" }, "problemMatcher": [] },