We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9676e8 commit 7751b3eCopy full SHA for 7751b3e
scripts/zip.ps1
@@ -1,4 +1,7 @@
1
-$sourceFolder = ".\dist"
+$sourceFolder = ".\dist\*"
2
$targetFolder = ".\artifacts"
3
+If (!(test-path -PathType container $targetFolder)) {
4
+ New-Item -ItemType Directory -Path $targetFolder
5
+}
6
$version = $(node -pe "require('./src/manifest.json').version")
7
Compress-Archive -Path $sourceFolder -DestinationPath $targetFolder/web-activity-time-tracker-$version.zip
0 commit comments