aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-11-07 20:14:46 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2023-11-07 20:14:46 -0500
commit381638ef7b6995980b4b140c9acd015ed818c0f5 (patch)
treec8b1d2c6fcfa3e609fece5583727b0d0e52047ed
parent0316fc948dd77b91b0ccf508826f66a175cb1e83 (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 68faacb..378faca 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}}"