A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/microsoft/ApplicationInspector/commit/1239303f9df112f59f002cf61e621a8d5e669903 below:

Try exporting release version variable for github release job (#613) · microsoft/ApplicationInspector@1239303 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+9

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+9

-1

lines changed Original file line number Diff line number Diff line change

@@ -142,7 +142,13 @@ extends:

142 142

publishPackageMetadata: true

143 143

publishFeedCredentials: 'sdl-oss-nuget-publish'

144 144

steps:

145 -

- template: nbgv-set-version-steps.yml@templates

145 +

- template: nbgv-set-version-steps.yml@templates

146 +

# set-version-steps only sets it for current job, while adding isOutput only sets it for future jobs

147 +

# https://learn.microsoft.com/en-us/azure/devops/pipelines/process/set-variables-scripts?view=azure-devops&tabs=powershell#set-an-output-variable-for-use-in-future-jobs

148 +

- powershell: |

149 +

$version = (nbgv get-version -v AssemblyInformationalVersion).split('+')[0]

150 +

Write-Host "##vso[task.setvariable variable=releaseVersion;isOutput=true]$version"

151 +

name: outputReleaseVersionVar

146 152

- task: UseDotNet@2 # For ESRP. Do not use variable.

147 153

inputs:

148 154

packageType: 'sdk'

@@ -601,6 +607,8 @@ extends:

601 607

# Based on Documentation: https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/releasepipelines/releaseworkflows/releasejob?tabs=standardreleasejob

602 608

displayName: GitHub Release Job

603 609

dependsOn: sign_hash_release

610 +

variables:

611 +

ReleaseVersion: $[stageDependencies.Release.sign_hash_release.outputs['outputReleaseVersionVar.releaseVersion']]

604 612

# pool: you can optionally specify pool as you would normally do for a standard job

605 613

templateContext:

606 614

type: releaseJob # Required, this indicates this job is a release job

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4