aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-11-07 20:14:35 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2023-11-07 20:14:35 -0500
commit07824a130c7608337a36382dbfa40198a8c70297 (patch)
tree4fa1f8e41a5b13031bcd921df83b5d853cbc139b
parent32240d1d07122be4a9e34684e9857ddc73acac5d (diff)
git source archive support for vnbuild
-rw-r--r--Module.Taskfile.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Module.Taskfile.yaml b/Module.Taskfile.yaml
index 660b8e1..f1b9864 100644
--- a/Module.Taskfile.yaml
+++ b/Module.Taskfile.yaml
@@ -41,6 +41,9 @@ tasks:
- 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}}"