Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit ba9c702

Browse files
author
BruceHaley
authored
Make Tag Build conditional on IsFork (#637)
* Make tagging conditional on IsFork * Make tag conditional for mac build as well
1 parent a9c2cf7 commit ba9c702

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

build/botframework-cli-mac.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
displayName: 'Tag Build with version number'
3737
inputs:
3838
tags: 'Version=$(_version)'
39+
continueOnError: true
40+
condition: and(succeeded(), eq(variables['System.PullRequest.IsFork'], 'False'))
3941

4042
- task: NodeTool@0
4143
displayName: 'Use Node 12.x'

build/botframework-cli.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
displayName: 'Tag Build with version number'
3737
inputs:
3838
tags: 'Version=$(_version)'
39+
continueOnError: true
40+
condition: and(succeeded(), eq(variables['System.PullRequest.IsFork'], 'False'))
3941

4042
- task: NodeTool@0
4143
displayName: 'Use Node 12.x'

0 commit comments

Comments
 (0)