Commit d2ca3458 authored by Federico Falconieri's avatar Federico Falconieri
Browse files

feat: adds pySR:version job

parent 2e700167
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
---
python:semantic-release:version:
  image: registry.gitlab.com/notno/python-semantic-releaser:3.9
  stage: build
  script:
    - pip install python-semantic-release
    # 1. semantic release will bump versions in files -> we want this
    # 2. THEN it will try to commit to git -> we don't want this! -> we let it fail and hide the output
    - semantic-release version &>/dev/null || true
    # 3. all changed files are passed as artifacts to the next stages
  artifacts:
    paths:
    - ./*