aboutsummaryrefslogtreecommitdiff
path: root/Module.Taskfile.yaml
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-03-24 21:15:47 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-03-24 21:15:47 -0400
commit27b487b6d0befdb2197a58ceadb1f1ac2b337786 (patch)
tree0714fbc25aef9b8a98d747849b2502031bfb9867 /Module.Taskfile.yaml
parentf2ac807486a00db4ba8486133d567e392f0fe98a (diff)
Squashed commit of the following:
commit 2a114541a3bfddae887adaa98c1ed326b125d511 Author: vnugent <public@vaughnnugent.com> Date: Sun Mar 24 20:53:38 2024 -0400 refactor: pull apart session authorization for future dev commit f8aea6453ddb2d56c1ce2ecb6a9e67d1af523c2e Author: vnugent <public@vaughnnugent.com> Date: Thu Mar 21 14:33:21 2024 -0400 feat: Add optional svg base64 icons for social OAuth2 connections commit cc29bed99dc9e151315cce75e50d55dca306b532 Author: vnugent <public@vaughnnugent.com> Date: Sun Mar 10 21:58:27 2024 -0400 source tree project location updated
Diffstat (limited to 'Module.Taskfile.yaml')
-rw-r--r--Module.Taskfile.yaml25
1 files changed, 11 insertions, 14 deletions
diff --git a/Module.Taskfile.yaml b/Module.Taskfile.yaml
index 378faca..0d4cd95 100644
--- a/Module.Taskfile.yaml
+++ b/Module.Taskfile.yaml
@@ -17,13 +17,13 @@ vars:
tasks:
-#called by build pipeline to sync repo
+ #called by build pipeline to sync repo
update:
cmds:
- - git remote update
- - git reset --hard
+ - git reset --hard #clean up any local changes
+ - git remote update
- git pull origin {{.BRANCH_NAME}} --verify-signatures
- #re-write semver after hard reset so build still works properly
+ #re-write semver after hard reset
- dotnet-gitversion.exe /updateprojectfiles
#called by build pipeline to build module
@@ -35,24 +35,21 @@ tasks:
- task: build_debug
- task: build_release
- postbuild_success:
+ publish:
cmds:
+ #git archive in the module directory
+ - git archive --format {{.ARCHIVE_FILE_FORMAT}} --output {{.ARCHIVE_FILE_NAME}} HEAD
#push packages to the sleet feed (feed path is vnbuild global)
- sleet push "{{.PACK_OUT}}/debug/" --source debug --config "{{.SLEET_CONFIG_PATH}}" --force
- sleet push "{{.PACK_OUT}}/release/" --source release --config "{{.SLEET_CONFIG_PATH}}" --force
- #git archive in the module directory
- - git archive --format {{.ARCHIVE_FILE_FORMAT}} --output {{.ARCHIVE_FILE_NAME}} HEAD
-
- postbuild_failed:
- cmds:
- - echo "postbuild failed {{.MODULE_NAME}}"
-
#called by build pipeline to clean module
clean:
cmds:
- #clean solution
- - dotnet clean /p:BuildInParallel=true /p:MultiProcessorCompilation=true
+ #clean solution
+ - dotnet clean /p:BuildInParallel=true /p:MultiProcessorCompilation=true
+ - cmd: powershell -Command "rm {{ .ARCHIVE_FILE_NAME }} --Force"
+ ignore_error: true
#Internal tasks