Commit 316d67fe authored by juga's avatar juga
Browse files

fix: CI: Create release on tag

parent 9e165ce6
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -131,3 +131,20 @@ python310:
  - tox -e py310
  - tox -e integration
  allow_failure: true

release_job:
  before_script:
    - echo "Nothing"
  after_script:
    - echo "Nothing"
  image: registry.gitlab.com/gitlab-org/release-cli:latest
  only: [tags]
  script:
    - echo "Running release job."
  release:
    name: "Release $CI_COMMIT_TAG"
    description: "Created using release-cli"
    tag_name: "$CI_COMMIT_TAG"
    ref: "$CI_COMMIT_TAG"
    milestones:
      - "sbws: 1.1.x-final"