Skip to content
Snippets Groups Projects
Verified Commit 42086fcd authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(ci): Add semantic-releases to CI tooling

parent b5ed345d
No related branches found
No related tags found
No related merge requests found
Pipeline #10356 passed
......@@ -18,6 +18,7 @@ stages:
- test
- build
- deploy
- release
format:
stage: test
......@@ -41,3 +42,14 @@ upload:
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "${CI_PROJECT_DIR}/hcloud-dynfw" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/hcloud-dynfw/$CI_COMMIT_TAG/hcloud-dynfw"'
rules:
- if: $CI_COMMIT_TAG
release:
image:
name: ghcr.io/go-semantic-release/semantic-release:2.15.0
entrypoint: [""]
stage: release
only:
- feature/semrel
script:
# Set GITLAB_TOKEN in variables section with API access for the project
- semantic-release
{
"plugins": {
"commit-analyzer": {
"name": "default@^1.0.0"
},
"ci-condition": {
"name": "default"
},
"changelog-generator": {
"name": "default",
"options": {
"emojis": "true"
}
},
"provider": {
"name": "gitlab"
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment