Skip to content

Commit

Permalink
fix pipeline / update agent version
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-ivlev committed Oct 26, 2022
1 parent a7a40df commit 61a7228
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 26 deletions.
51 changes: 26 additions & 25 deletions .vsts.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,32 +36,33 @@ extends:

${{ if not(parameters.buildStageOnly) }}:
preBuildStages:
- stage: Create_Release_Branch
displayName: Create Release Branch
jobs:
################################################################################
- job: Create_Release_Branch
################################################################################
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/master') }}:
- stage: Create_Release_Branch
displayName: Create Release Branch
pool:
vmImage: ubuntu-18.04

steps:
- checkout: self

- task: NodeTool@0
displayName: Use node 14.15.1
inputs:
versionSpec: "14.15.1"

- script: |
cd release
npm install
node createReleaseBranch.js ${{ parameters.version }} --derivedFrom=${{ parameters.derivedFrom }}
env:
EDITOR: cat
PAT: $(GithubToken)
displayName: Push release branch to GitHub
jobs:
################################################################################
- job: Create_Release_Branch
################################################################################
displayName: Create Release Branch
pool:
vmImage: ubuntu-18.04

steps:
- checkout: self

- task: NodeTool@0
displayName: Use node 14.15.1
inputs:
versionSpec: "14.15.1"

- script: |
cd release
npm install
node createReleaseBranch.js ${{ parameters.version }} --derivedFrom=${{ parameters.derivedFrom }}
env:
EDITOR: cat
PAT: $(GithubToken)
displayName: Push release branch to GitHub
${{ if not(parameters.buildStageOnly) }}:
postBuildStages:
Expand Down
2 changes: 1 addition & 1 deletion src/agentversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.999.999
3.212.0

0 comments on commit 61a7228

Please sign in to comment.