File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,10 +25,12 @@ after_build:
2525 Push-AppveyorArtifact "CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\CodeStats.dll" -FileName CodeStats_$($env:PLATFORM).dll
2626 }
2727
28- $ZipFileName = "notepadpp-CodeStats_$($env:APPVEYOR_REPO_TAG_NAME)_$($env:PLATFORM)_$($env:CONFIGURATION).zip"
29- Remove-Item CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\*.exp
30- Remove-Item CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\*.lib
31- 7z a $ZipFileName CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\*
28+ if ($($env:APPVEYOR_REPO_TAG) -eq "true") {
29+ $ZipFileName = "notepadpp-CodeStats_$($env:APPVEYOR_REPO_TAG_NAME)_$($env:PLATFORM)_$($env:CONFIGURATION).zip"
30+ Remove-Item CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\*.exp
31+ Remove-Item CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\*.lib
32+ 7z a $ZipFileName CodeStats\bin\$env:PLATFORM\$env:CONFIGURATION\*
33+ }
3234
3335artifacts :
3436 - path : notepadpp-CodeStats_*.zip
You can’t perform that action at this time.
0 commit comments