Loading project-automation/badge.yml +14 −0 Original line number Diff line number Diff line Loading @@ -67,3 +67,17 @@ 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}" project-automation/semantic-release.yml +0 −14 Original line number Diff line number Diff line Loading @@ -41,17 +41,3 @@ semantic-release: - semantic-release ${EXTRA_ARGS} rules: - if: '$GL_TOKEN' 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}" Loading
project-automation/badge.yml +14 −0 Original line number Diff line number Diff line Loading @@ -67,3 +67,17 @@ 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}"
project-automation/semantic-release.yml +0 −14 Original line number Diff line number Diff line Loading @@ -41,17 +41,3 @@ semantic-release: - semantic-release ${EXTRA_ARGS} rules: - if: '$GL_TOKEN' 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}"