Verified Commit 3b7c14b2 authored by Bob Van Landuyt's avatar Bob Van Landuyt 💬
Browse files

fix(deploy): fix the deployment to rubygems

This makes sure that the job only runs on tags that match a full
semver release, not the truncated versions.

It also makes the job run in a recent ruby image based on the
`.with_bundle` job from common-ci-tasks.
parent aba7820e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -50,8 +50,9 @@ ruby-versions:
      - RUBY_VERSION: ["3.2", "3.3"]

deploy:
  rules:
    - if: $CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+/
  extends: .with_bundle
  stage: release
  script:
    - tools/deploy-rubygem.sh
  only:
    - tags