Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweininger committed Aug 27, 2024
1 parent d7bc960 commit e6c3331
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions azure-pipelines/1esmain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ extends:
- template: ./1esstages.yml
parameters:
useAzureFederatedCredentials: ${{ parameters.useAzureFederatedCredentials }}
additionalSetupSteps: ${{ parameters.additionalSetupSteps }}
# Enable the signing toolset when the build is not a PR and the branch is main or starts with rel/
additionalSetupSteps: ${{ parameters.additionalSetupSteps }}
1 change: 1 addition & 0 deletions azure-pipelines/1esstages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ stages:
templateContext:
mb: # Enable the MicroBuild Signing toolset
signing:
# Enable the signing toolset when the build is not a PR and the branch is main or starts with rel/
enabled: $[and(ne(variables['Build.Reason'], 'PullRequest'), or(eq(variables['Build.SourceBranchName'], 'main'), startsWith(variables['Build.SourceBranchName'], 'rel/')))]
signType: real # options are 'real' & 'test'
zipSources: false
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines/templates/sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ steps:
Write-Output "SignExtension.signproj file not found. Skipping signing."
}
displayName: "\U0001F449 Check for SignExtension.signproj File"
# Run this step when the build is not a PR and the branch is main or starts with rel/
condition: and(ne(variables['Build.Reason'], 'PullRequest'), or(eq(variables['Build.SourceBranchName'], 'main'), startsWith(variables['Build.SourceBranchName'], 'rel/')))
# put the extension name and version from the package.json into variables to use later. Variables can be used in later steps as $(package.name) and $(package.version)
Expand Down

0 comments on commit e6c3331

Please sign in to comment.