diff options
Diffstat (limited to 'Module.Taskfile.yaml')
-rw-r--r-- | Module.Taskfile.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Module.Taskfile.yaml b/Module.Taskfile.yaml new file mode 100644 index 0000000..3f2455d --- /dev/null +++ b/Module.Taskfile.yaml @@ -0,0 +1,29 @@ + +#This allows the Task build system to run commands to build components of the project +#You must install Task before executing this file, https://taskfile.dev + +version: '3' + +tasks: + + #update project source code + update: + cmds: + - git remote update + - git reset --hard + - git pull origin {{.BRANCH_NAME}} --verify-signatures + #re-write semver for back-end after hard reset + - dotnet-gitversion.exe /updateprojectfiles + + build: + cmds: + + #copy artifacts to temp directory + postbuild_success: + cmds: + #git archive in the module directory + - git archive --format {{.ARCHIVE_FILE_FORMAT}} --output {{.ARCHIVE_FILE_NAME}} HEAD + + #clean hook + clean: + cmds:
\ No newline at end of file |