Skip to content

Commit cb24202

Browse files
authored
Fixed packaging command (#18)
1 parent 40bc32c commit cb24202

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

appveyor.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,16 @@ after_build:
2626
if ($env:APPVEYOR_REPO_TAG -eq $true) {
2727
xcopy .\IIS.Compression\bin\Release\x86\* .\build\32bit\ /I
2828
xcopy .\IIS.Compression\bin\Release\x64\* .\build\64bit\ /I
29-
nuget pack .\IIS.Compression.SiteExtension.nuspec -BasePath .\build -OutputDirectory .\ -Version $env:APPVEYOR_REPO_TAG_NAME
29+
nuget pack .\IIS.Compression.SiteExtension.nuspec -BasePath .\build -OutputDirectory .\ -Version $($env:APPVEYOR_REPO_TAG_NAME.Substring(1))
3030
}
3131
3232
artifacts:
3333
- path: '*.nupkg'
3434

3535
deploy:
36-
provider: NuGet
37-
api_key:
38-
secure: z8WTDEqftESoalyJXT6Fta22vbcgwZ2M9FXLpU4KnAEtcsXbQVpoNURDBk0W8b6S
39-
skip_symbols: true
40-
artifact: /.*\.nupkg/
41-
on:
42-
appveyor_repo_tag: true
36+
- provider: NuGet
37+
api_key: $(NUGET_API_KEY)
38+
skip_symbols: true
39+
artifact: /.*\.nupkg/
40+
on:
41+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)