Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kharkevich/ado-semantic-release
Azure DevOps extension: Semantic Release
https://github.com/kharkevich/ado-semantic-release
azure azure-devops azuredevops-extension semantic-release
Last synced: 12 days ago
JSON representation
Azure DevOps extension: Semantic Release
- Host: GitHub
- URL: https://github.com/kharkevich/ado-semantic-release
- Owner: kharkevich
- License: apache-2.0
- Created: 2022-06-07T23:39:19.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-16T02:17:36.000Z (over 2 years ago)
- Last Synced: 2024-11-22T21:45:28.430Z (2 months ago)
- Topics: azure, azure-devops, azuredevops-extension, semantic-release
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=kharkevich.ado-semantic-release
- Size: 143 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Semantic Release Azure DevOps pipeline extensions
## Release notes
Generate Release notes based on conventional commits by pipeline step
## release-notes task
Azure pipelines (default parameters):
```yaml
steps:
- task: release-notes@1
displayName: 'Release notes'
```Azure pipelines (all parameters):
```yaml
steps:
- task: release-notes@1
displayName: 'Release notes'
inputs:
releaseNotesFrom: 1.0.0
releaseNotesTo: HEAD
releaseNotesPath: docs/release-notes.md
releaseNotesTemplatePath: src/main/resources/release-notes-template.md
setVersionToGitTag: true
gitTagPrefix: v
gitTagSuffix: alpha
hideSubprocessOutput: true
workingDirectory: $(Build.SourcesDirectory)
normalizeMergeCommit: true
```## push-git-tag task
**Description:** Push all git tags or only the latest git tag to the ADO git repository
Precondition:
Git credentials, user name and email should be configured before running this task.
See [Microsoft docs page](https://docs.microsoft.com/en-us/azure/devops/pipelines/scripts/git-commands?view=azure-devops&tabs=yaml/) for more information.Example:
```yaml
steps:
- checkout: self
persistCredentials: true
clean: true
displayName: "Allow scripts to access the system token"
- script: |
git config user.email [email protected]
git config user.name "ADO Build agent"
displayName: "Configure git user"
```Azure pipelines (default parameters):
```yaml
steps:
- task: push-git-tag@1
displayName: 'Push git tag'
```Azure pipelines (all parameters):
```yaml
steps:
- task: push-git-tag@1
displayName: 'Push git tag'
inputs:
publishLatestTagOnly: true
remoteName: origin
hideSubprocessOutput: true
workingDirectory: $(Build.SourcesDirectory)
```## update-yaml
**Description:** Update key:value in the yaml file (e.g. version)
Azure pipelines (minimal allowed parameters):
```yaml
steps:
- task: update-yaml@1
displayName: 'Update yaml'
inputs:
filename: Chart.yaml
key: version
```Azure pipelines (all parameters):
```yaml
steps:
- task: update-yaml@1
displayName: 'Update yaml'
inputs:
filename: Chart.yaml
key: version
value: 3.2.1 # if omitted will use the latest git tag
createBackup: true # create a backup of the original file
hideSubprocessOutput: true
workingDirectory: $(Build.SourcesDirectory)
```See [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) for specification.
---
[Icons by Flaticon](https://www.flaticon.com/free-icons/)