diff --git a/appveyor.yml b/appveyor.yml index b742552..5d67c09 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -34,21 +34,21 @@ assembly_info: build_script: - ps: >- dotnet build "Itofinity.Appveyor.Refit.sln" - dotnet pack -p:PackageVersion=$(appveyor_build_version) + dotnet pack -p:PackageVersion=$(version) dotnet publish --runtime win-x64 dotnet publish --runtime linux-x64 dotnet publish --runtime osx-x64 artifacts: - - path: '**\src\**\*.nupkg' + - path: /.*\.nupkg/ - path: 'src\Itofinity.Appveyor.Cli\bin\$(configuration)\netcoreapp2.1\win-x64\publish' - name: apv-cli-v$(appveyor_build_version)-$(configuration)-win-x64 + name: apv-cli-v$(version)-$(configuration)-win-x64 type: zip - path: 'src\Itofinity.Appveyor.Cli\bin\$(configuration)\netcoreapp2.1\linux-x64\publish' - name: apv-cli-v$(appveyor_build_version)-$(configuration)-linux-x64 + name: apv-cli-v$(version)-$(configuration)-linux-x64 type: zip - path: 'src\Itofinity.Appveyor.Cli\bin\$(configuration)\netcoreapp2.1\osx-x64\publish' - name: apv-cli-v$(appveyor_build_version)-$(configuration)-osx-x64 + name: apv-cli-v$(version)-$(configuration)-osx-x64 type: zip @@ -65,12 +65,12 @@ on_success: - ps : .\appveyor-tag-repository.ps1 deploy: - release: mcmw-v$(appveyor_build_version) - description: 'Mercurial Credential Manager for Windows Release' + release: apv-cli-v$(version)-$(configuration) + description: 'AppVeyor Cli Release' provider: GitHub auth_token: secure: /GXo1m4yXO8eIbjXBMBOVkC5d05AvG0/+03CmoHZBlsoPp3mnSwDXKLA6CpKNAs3 # your encrypted token from GitHub - artifact: mcmw-v$(appveyor_build_version) + artifact: /.*\.nupkg/ , apv-cli-v$(version)-$(configuration)-win-x64, apv-cli-v$(version)-$(configuration)-linux-x64, apv-cli-v$(version)-$(configuration)-osx-x64 draft: false prerelease: FALSE on: