From 6cb7da37824d02a1898d08d0f9495c77fde4dd1d Mon Sep 17 00:00:00 2001 From: vnugent Date: Sat, 20 Jan 2024 23:49:29 -0500 Subject: inital commit --- Module.Taskfile.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Module.Taskfile.yaml (limited to 'Module.Taskfile.yaml') 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 -- cgit