diff options
author | vnugent <public@vaughnnugent.com> | 2024-03-10 21:58:14 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-03-10 21:58:14 -0400 |
commit | d513c10d9895c6693519ef1d459c6a5a76929436 (patch) | |
tree | 139cba0e6b26d6ea8b30e51c8769a77d824db9f3 /Module.Taskfile.yaml | |
parent | dd0f384ec3b2fd86ec03aa0fb42387091b5430a7 (diff) |
source tree project location updated
Diffstat (limited to 'Module.Taskfile.yaml')
-rw-r--r-- | Module.Taskfile.yaml | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/Module.Taskfile.yaml b/Module.Taskfile.yaml index f1b9864..c604ff8 100644 --- a/Module.Taskfile.yaml +++ b/Module.Taskfile.yaml @@ -20,8 +20,8 @@ tasks: #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 - dotnet-gitversion.exe /updateprojectfiles @@ -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 |