Skip to content
Snippets Groups Projects
Verified Commit 6d9e133f authored by Stefan Hynek's avatar Stefan Hynek :drooling_face:
Browse files

ci(gitlab): switch from python based semantic-release to node-js based

parent 53218a4e
No related branches found
No related tags found
1 merge request!10Resolve "switch semantic-release implementation from python to node-js"
...@@ -37,16 +37,11 @@ lint dockerfile: ...@@ -37,16 +37,11 @@ lint dockerfile:
release: release:
stage: release stage: release
image: docker.io/python:3.8-slim-bullseye image: docker.io/node:16.14
before_script: before_script:
- apt-get update - npm ci --unsafe-perm
&& apt-get install
--yes
--no-install-recommends
git
- pip install --requirement requirements.ci.txt
script: script:
- semantic-release --verbosity=DEBUG publish - npx semantic-release
rules: rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......
[tool.semantic_release]
version_source = "tag"
branch = "main"
major_on_zero = false
tag_format = "{version}"
build_command = false
upload_to_repository = false
hvcs = "gitlab"
hvcs_domain = "gitlab.gwdg.de"
hvcs_api_domain = "gitlab.gwdg.de/api/v4"
version = "0.0.0"
version_toml = "pyproject.toml:tool.semantic_release.version"
python-semantic-release==7.25.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