Skip to content

Commit

Permalink
Merge pull request #14 from Hsilgos/deploy_npp_admin_plugin
Browse files Browse the repository at this point in the history
Puts dll into folder inside zip file
  • Loading branch information
Hsilgos authored Oct 28, 2018
2 parents 0cd2ad7 + 1ba1776 commit 1d32502
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,17 @@ after_build:
if ($env:CONFIGURATION -eq "Release") {
if($env:PLATFORM -eq "x64") {
$ZipFileName = "NppSaveAsAdmin_$($env:APPVEYOR_BUILD_VERSION)_x64.zip"
7z a $ZipFileName "$($env:APPVEYOR_BUILD_FOLDER)\NppSaveAsAdmin\bin64\NppSaveAsAdmin.dll"
cp "$($env:APPVEYOR_BUILD_FOLDER)\NppSaveAsAdmin\bin64\NppSaveAsAdmin.dll" "NppSaveAsAdmin\NppSaveAsAdmin.dll"
}
if($env:PLATFORM -eq "x86") {
$ZipFileName = "NppSaveAsAdmin_$($env:APPVEYOR_BUILD_VERSION)_x86.zip"
7z a $ZipFileName "$($env:APPVEYOR_BUILD_FOLDER)\NppSaveAsAdmin\bin\NppSaveAsAdmin.dll"
cp "$($env:APPVEYOR_BUILD_FOLDER)\NppSaveAsAdmin\bin\NppSaveAsAdmin.dll" "NppSaveAsAdmin\NppSaveAsAdmin.dll"
}
7z a $ZipFileName "$($env:APPVEYOR_BUILD_FOLDER)\README.md"
7z a $ZipFileName "$($env:APPVEYOR_BUILD_FOLDER)\NppSaveAsAdmin\license.txt"
cp "$($env:APPVEYOR_BUILD_FOLDER)\README.md" "NppSaveAsAdmin\README.md"
7z a $ZipFileName "NppSaveAsAdmin\NppSaveAsAdmin.dll"
7z a $ZipFileName "NppSaveAsAdmin\README.md"
7z a $ZipFileName "NppSaveAsAdmin\license.txt"
}
test_script:
Expand Down

0 comments on commit 1d32502

Please sign in to comment.