Merge pull request #1031 from unoplatform/dev/agzi/FixGitVersionStep #473
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameters: | ||
vmImage: '' | ||
jobs: | ||
- job: Commitsar | ||
displayName: 'Conventional Commits Validation' | ||
pool: | ||
vmImage: ${{ parameters.vmImage }} | ||
steps: | ||
- checkout: self | ||
clean: true | ||
- bash: | | ||
curl -L -O https://github.com/aevea/commitsar/releases/download/v0.16.0/commitsar_0.16.0_Linux_x86_64.tar.gz | ||
tar -xzf commitsar_0.16.0_Linux_x86_64.tar.gz | ||
./commitsar | ||
condition: ne(variables['System.PullRequest.PullRequestNumber'], '') | ||
- template: templates/generate-changelog.yml |