[CI][VSTS] Re-enable the nuget feed push for the preview. (#10551)

* [CI][VSTS] Publish nugets to the preview feed.

fixes: https://github.com/xamarin/xamarin-macios/issues/10300

* Be verbose when publishing to know what is really going on.

* Make bash verbose too.

* Use the yaml step as Xamarin.Android does.

* We do not longer use the bash script.

Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
This commit is contained in:
Manuel de la Pena 2021-02-01 02:24:31 -05:00 коммит произвёл GitHub
Родитель 0372e07829
Коммит 414ea132c4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -308,6 +308,15 @@ steps:
continueOnError: true # should not stop the build since is not official just yet.
timeoutInMinutes: 180
- task: NuGetCommand@2
displayName: 'Publish Nugets'
inputs:
command: push
packagesToPush: $(Build.SourcesDirectory)/package/*.nupkg
nuGetFeedType: external
publishFeedCredentials: xamarin-impl public feed
condition: and(succeeded(), eq(variables['configuration.BuildNugets'], 'True'))
- bash: $(Build.SourcesDirectory)/xamarin-macios/tools/devops/automation/scripts/bash/productsign.sh
env:
PRODUCTSIGN_KEYCHAIN_PASSWORD: $(xma-password)