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

fix: move badge semantic release to own file

parent f11be408
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -67,17 +67,3 @@
  allow_failure: true
  rules:
    - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'

badge:semantic-release:
  extends: .badge
  before_script:  # We can't do this in rules as this variable is created during the pipeline run.
    - |
      if [ -z "${TBUMP_NEXT_VERSION}" ]; then
        echo "[!] No next version."
        exit 0
      fi
  variables:
    NAME: "version"
    VALUE: "v${TBUMP_NEXT_VERSION}"
    COLOR: "green"
    URL: "${CI_PROJECT_URL}/tags/v${TBUMP_NEXT_VERSION}"
+14 −0
Original line number Diff line number Diff line
---
badge:semantic-release:
  extends: .badge
  before_script:  # We can't do this in rules as this variable is created during the pipeline run.
    - |
      if [ -z "${TBUMP_NEXT_VERSION}" ]; then
        echo "[!] No next version."
        exit 0
      fi
  variables:
    NAME: "version"
    VALUE: "v${TBUMP_NEXT_VERSION}"
    COLOR: "green"
    URL: "${CI_PROJECT_URL}/tags/v${TBUMP_NEXT_VERSION}"