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

Merge branch 'feat/add-semantic-release' into 'main'

feat: Add semantic release

See merge request !45
parents b2425007 fb892ef4
No related branches found
No related tags found
No related merge requests found
Pipeline #127020 failed
......@@ -3,7 +3,17 @@ variables:
IMAGE_TAG_HELM_FILE: "helm/staging/graphpolaris-frontend/values.yaml"
IMAGE_TAG_HELM_FILE_VARIABLE: "image.tag"
stages:
- tag-release
- container-image
- deploy-staging
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": [
"main",
{
"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