From cb24202e7bee8b51c6badd9ee161b151fbd92c7c Mon Sep 17 00:00:00 2001 From: Tatsuro Shibamura Date: Mon, 1 Jul 2019 01:39:42 +0900 Subject: [PATCH] Fixed packaging command (#18) --- appveyor.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 500cc5d..3b6965e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,17 +26,16 @@ after_build: if ($env:APPVEYOR_REPO_TAG -eq $true) { xcopy .\IIS.Compression\bin\Release\x86\* .\build\32bit\ /I xcopy .\IIS.Compression\bin\Release\x64\* .\build\64bit\ /I - nuget pack .\IIS.Compression.SiteExtension.nuspec -BasePath .\build -OutputDirectory .\ -Version $env:APPVEYOR_REPO_TAG_NAME + nuget pack .\IIS.Compression.SiteExtension.nuspec -BasePath .\build -OutputDirectory .\ -Version $($env:APPVEYOR_REPO_TAG_NAME.Substring(1)) } artifacts: - path: '*.nupkg' deploy: - provider: NuGet - api_key: - secure: z8WTDEqftESoalyJXT6Fta22vbcgwZ2M9FXLpU4KnAEtcsXbQVpoNURDBk0W8b6S - skip_symbols: true - artifact: /.*\.nupkg/ - on: - appveyor_repo_tag: true \ No newline at end of file + - provider: NuGet + api_key: $(NUGET_API_KEY) + skip_symbols: true + artifact: /.*\.nupkg/ + on: + appveyor_repo_tag: true \ No newline at end of file