Skip to content

Commit

Permalink
Update preview.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Randy Armstrong committed Dec 2, 2023
1 parent e70bd0b commit ae2005c
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions .azurepipelines/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,19 @@ jobs:
displayName: Restore ${{parameters.config}}
inputs:
command: restore
projects: 'UA Core Library.sln'
projects: 'UA-CloudLibrary-Client.sln'
arguments: '--configuration ${{parameters.config}}'
- task: DotNetCoreCLI@2
displayName: Build ${{parameters.config}}
inputs:
command: build
projects: 'UA Core Library.sln'
projects: 'UA-CloudLibrary-Client.sln'
arguments: '--no-incremental --configuration ${{parameters.config}} ${{ variables.msbuildversion }} ${{ variables.msbuildsign }}'
- task: CmdLine@2
displayName: 'List of assemblies to sign'
inputs:
script: |
dir /b /s Stack\Opc.Ua.*.dll > .\list.txt
dir /b /s Libraries\Opc.Ua.*.dll >> .\list.txt
dir /b /s UA-CloudLibrary-Client\Opc.CloudLibrary.*.dll > .\list.txt
dir /b /s .azurepipelines\*.* >> .\list.txt
type .\list.txt
- task: CmdLine@2
Expand All @@ -96,28 +95,10 @@ jobs:
displayName: Pack Nuget ${{parameters.config}}
inputs:
command: pack
packagesToPack: 'UA Core Library.sln'
packagesToPack: 'UA-CloudLibrary-Client.sln'
configuration: ${{parameters.config}}
configurationToPack: ${{parameters.config}}
nobuild: true
- task: NuGetCommand@2
displayName: Pack Nuget Legacy Preview
condition: and(succeeded(), and(eq('${{parameters.config}}', 'Release'), ne(variables['NBGV_PublicRelease'], 'True')))
continueOnError: true
inputs:
command: 'pack'
packagesToPack: '**/Opc.*.nuspec'
versioningScheme: 'byEnvVar'
versionEnvVar: 'nugetpreviewversion'
- task: NuGetCommand@2
displayName: Pack Nuget Legacy Public
condition: and(succeeded(), and(eq('${{parameters.config}}', 'Release'), eq(variables['NBGV_PublicRelease'], 'True')))
continueOnError: true
inputs:
command: 'pack'
packagesToPack: '**/Opc.*.nuspec'
versioningScheme: 'byEnvVar'
versionEnvVar: 'nugetpublicversion'
- task: CmdLine@2
displayName: 'List of nuget packages to sign'
inputs:
Expand Down

0 comments on commit ae2005c

Please sign in to comment.