Skip to content

Commit

Permalink
fixing yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Apr 26, 2020
1 parent 22bffcc commit 9d1869e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 121 deletions.
50 changes: 1 addition & 49 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@ stages:
testRunTitle: 'AP.MobileToolkit.Fonts'
testResultsFiles: '**/*.trx'

- powershell: 'build\Sign-Packages.ps1'
displayName: 'Authenticode Sign Artifacts'
env:
SignClientUser: $(SignClientUser)
SignClientSecret: $(SignClientSecret)
SignClientClientId: $(SignClientClientId)
SignClientTenantId: $(SignClientTenantId)
SignServiceResourceId: $(SignServiceResourceId)
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

- task: PublishPipelineArtifact@1
displayName: Publish Pipeline Artifacts
inputs:
Expand All @@ -86,42 +76,4 @@ stages:
command: push
packagesToPush: '$(Pipeline.Workspace)/**/*.nupkg'
nuGetFeedType: external
publishFeedCredentials: 'AvaintPoint-MyGet'

- stage: NuGet
displayName: Deploy to NuGet.org
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['system.pullrequest.isfork'], false), or(eq(variables['IS_PREVIEW'], 'true'), eq(variables['IS_RELEASE'], 'true')))
jobs:
- deployment: NuGet
displayName: NuGet.org
environment: NuGet.org
strategy:
runOnce:
deploy:
steps:
- checkout: self
clean: true

- powershell: build/Process-Release.ps1
displayName: Process Release

- task: GitHubRelease@1
inputs:
action: create
gitHubConnection: GitHub
assets: $(Pipeline.Workspace)/**/*.nupkg
tag: 'v$(VersionName)'
tagSource: userSpecifiedTag
isPreRelease: $(IS_PREVIEW)
title: $(ReleaseDisplayName)
addChangeLog: true
enabled: $(DeployToNuGet)

- task: NuGetCommand@2
displayName: Push to NuGet.org
inputs:
command: push
packagesToPush: '$(Pipeline.Workspace)/**/*.nupkg'
nuGetFeedType: external
publishFeedCredentials: 'NuGet'
enabled: $(DeployToNuGet)
publishFeedCredentials: 'AvaintPoint-MyGet'
29 changes: 0 additions & 29 deletions build/Process-Release.ps1

This file was deleted.

43 changes: 0 additions & 43 deletions build/Sign-Packages.ps1

This file was deleted.

0 comments on commit 9d1869e

Please sign in to comment.