Skip to content
Snippets Groups Projects
Commit fc1d5274 authored by Alen Zubic's avatar Alen Zubic
Browse files

feat: Add semantic release

parent b2425007
No related branches found
No related tags found
No related merge requests found
Pipeline #127006 failed
......@@ -4,6 +4,11 @@ variables:
IMAGE_TAG_HELM_FILE_VARIABLE: "image.tag"
include:
# Release needs to happen before build-and-push, because build-and-push
# searches for a tag that contains the current commit SHA.
- project: 'graphpolaris/pipelines'
ref: main
file: 'semantic-release.yml'
- project: 'graphpolaris/pipelines'
ref: main
file: 'docker-build-push.yml'
{
"branches": [
"master",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"dryRun": false,
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"successCmd": "echo ${nextRelease.version} > version.txt"
}
],
"@semantic-release/gitlab"
]
}
{
"dependencies": {
"semantic-release": "^21.0.0",
"@semantic-release/exec": "^6.0.0",
"@semantic-release/commit-analyzer": "^10.0.0",
"@semantic-release/gitlab": "^12.0.0",
"@semantic-release/release-notes-generator": "^11.0.0"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment