aboutsummaryrefslogtreecommitdiff
path: root/Module.Taskfile.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'Module.Taskfile.yaml')
-rw-r--r--Module.Taskfile.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/Module.Taskfile.yaml b/Module.Taskfile.yaml
index c604ff8..8d81b0e 100644
--- a/Module.Taskfile.yaml
+++ b/Module.Taskfile.yaml
@@ -43,6 +43,10 @@ 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
+ test:
+ cmds:
+ - cmd: dotnet test --verbosity normal
+
#called by build pipeline to clean module
clean:
cmds:
@@ -57,11 +61,11 @@ tasks:
internal: true
cmds:
- dotnet publish -c debug {{.MS_ARGS}}
- - dotnet pack -c debug {{.MS_ARGS}} -o "{{.PACK_OUT}}/debug/"
+ - dotnet pack -c debug {{.MS_ARGS}} -o "{{.PACK_OUT}}/debug/" -p:PackageVersion={{.BUILD_VERSION}}
build_release:
internal: true
cmds:
- dotnet publish -c release {{.MS_ARGS}}
- - dotnet pack -c release {{.MS_ARGS}} -o "{{.PACK_OUT}}/release/"
+ - dotnet pack -c release {{.MS_ARGS}} -o "{{.PACK_OUT}}/release/" -p:PackageVersion={{.BUILD_VERSION}}
\ No newline at end of file