Skip to content

Commit c8ec96c

Browse files
committed
Add Tests to release build
1 parent 6a61b42 commit c8ec96c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CreateRelease.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ while ($version -notmatch '^\d+\.\d+\.?\d*$') {
5959
$version = Read-Host "Invalid Version. Enter version number (e.g. 1.3.2)"
6060
}
6161

62+
Get-ChildItem *.bak -Recurse | Remove-Item -Force
63+
6264
Write-Host "Building ReadMe.docx ..."
6365
& pandoc -f markdown_github -t docx README.md -o README.docx
6466
if ($LASTEXITCODE -ne 0) {
@@ -78,5 +80,9 @@ Remove-Item "$root\README.docx"
7880

7981
$output = "$root\AlteryxOmniBus v$version.zip"
8082
Compress-Archive -Path ("$root\README.pdf", "$root\Release\*") -DestinationPath $output -Verbose -Update
83+
Remove-Item "$root\README.pdf"
84+
85+
$output = "$root\AlteryxOmniBus Tests v$version.zip"
86+
Compress-Archive -Path ("$root\RunUnitTests.ps1", "$root\RunUnitTests.yxmd", "$root\Test Workflows") -DestinationPath $output -Verbose -Update
8187

8288
Pop-Location

0 commit comments

Comments
 (0)