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
commitcb05b88fa7deb15f88805490175acd249609cd79 (patch)
tree4bac7815487b1f4414d5b7320fd5803bd2535cbb
parentf9ceae37849e6a0d08a8272af258c98c9689f5cf (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}}"