Stratasys-Fortus-450mc/Packages/MAVRIC.UX/azure-pipelines-1.yml

28 lines
694 B
YAML

# Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
trigger:
- release/*
pool: 'Default'
steps:
- checkout: self
clean: true
fetchDepth: 1
lfs: true
submodules: true
path: 's'
persistCredentials: true
- task: PythonScript@0
displayName: Run update-release-version.py
inputs:
scriptSource: 'filePath'
scriptPath: 'update-release-version.py'
- task: CmdLine@2
displayName: git commit and git push
inputs:
script: 'git commit --all -m "Updated Version Number [skip ci]" && git push origin HEAD:%BUILD_SOURCEBRANCH%'