Skip to content

Commit 7751b3e

Browse files
committed
Fix archive script
1 parent c9676e8 commit 7751b3e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/zip.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
$sourceFolder = ".\dist"
1+
$sourceFolder = ".\dist\*"
22
$targetFolder = ".\artifacts"
3+
If (!(test-path -PathType container $targetFolder)) {
4+
New-Item -ItemType Directory -Path $targetFolder
5+
}
36
$version = $(node -pe "require('./src/manifest.json').version")
47
Compress-Archive -Path $sourceFolder -DestinationPath $targetFolder/web-activity-time-tracker-$version.zip

0 commit comments

Comments
 (0)