Skip to content

Commit

Permalink
NEWS/BUILD: Update Build.Reason trigger and release date
Browse files Browse the repository at this point in the history
  • Loading branch information
yosefe committed Mar 9, 2021
1 parent 4ef2333 commit 5e52860
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
##
#

## 1.10.0 (March 8, 2021)
## 1.10.0 (March 9, 2021)
### Features:
#### Core
* Added support for Nvidia HPC SDK
Expand Down
6 changes: 3 additions & 3 deletions buildlib/az-distro-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
jobs:
- job: distro_release
condition: or(eq(variables['Build.Reason'], 'ResourceTrigger'), and(eq(stageDependencies.Check_Commit.Check.outputs['Commit.Title'], 'Yes'), eq(variables['Build.Reason'], 'PullRequest')))
condition: or(eq(variables['Build.Reason'], 'IndividualCI'), and(eq(stageDependencies.Check_Commit.Check.outputs['Commit.Title'], 'Yes'), eq(variables['Build.Reason'], 'PullRequest')))
displayName: distro
variables:
${{ if eq(variables['Build.Reason'], 'ResourceTrigger') }}:
${{ if eq(variables['Build.Reason'], 'IndividualCI') }}:
POSTFIX: ucx-${{ replace(variables['Build.SourceBranch'], 'refs/tags/', '') }}
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
POSTFIX: ucx-test
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
AZ_ARTIFACT_NAME: $(artifact_name)
- task: GithubRelease@0
condition: eq(variables['Build.Reason'], 'ResourceTrigger')
condition: eq(variables['Build.Reason'], 'IndividualCI')
displayName: Upload artifacts to draft release
inputs:
githubConnection: release
Expand Down
4 changes: 2 additions & 2 deletions buildlib/azure-pipelines-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ stages:
dependsOn: Check_Commit
jobs:
- job: DraftRelease
condition: or(eq(variables['Build.Reason'], 'ResourceTrigger'), and(eq(stageDependencies.Check_Commit.Check.outputs['Commit.Title'], 'Yes'), eq(variables['Build.Reason'], 'PullRequest')))
condition: or(eq(variables['Build.Reason'], 'IndividualCI'), and(eq(stageDependencies.Check_Commit.Check.outputs['Commit.Title'], 'Yes'), eq(variables['Build.Reason'], 'PullRequest')))
container: centos7
pool:
name: MLNX
Expand All @@ -91,7 +91,7 @@ stages:
displayName: Build tarball
- task: GithubRelease@0
condition: eq(variables['Build.Reason'], 'ResourceTrigger')
condition: eq(variables['Build.Reason'], 'IndividualCI')
displayName: Create/edit GitHub Draft Release
inputs:
githubConnection: release
Expand Down
2 changes: 1 addition & 1 deletion buildlib/jucx-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ parameters:

jobs:
- job: jucx_release
condition: eq(variables['Build.Reason'], 'ResourceTrigger')
condition: eq(variables['Build.Reason'], 'IndividualCI')
container: centos7

steps:
Expand Down

0 comments on commit 5e52860

Please sign in to comment.