Browse Source

switched to Get-ChildItem piped to Copy-Item

pull/46/head
Anairkoen Schno 5 years ago
parent
commit
831c2e00e1
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      appveyor.yml

+ 3
- 1
appveyor.yml View File

@ -81,8 +81,10 @@ before_deploy:
cd origin_site # make things a bit easier
$tagPath = "tags/$env:APPVEYOR_REPO_TAG_NAME"
$source = "."
New-Item -ItemType directory -Path $tagPath
Copy-Item -Path * -Destination $tagPath -Exclude ".git,tags/*" -Recurse
Get-ChildItem $source -Recurse -Exclude @('.git','tags/*','tags') |
Copy-Item -Destination {Join-Path $tagPath $_.FullName.Substring($source.length)}
cd .. # fix working directory


Loading…
Cancel
Save