Loading alm/semantic-release-badge.yml +3 −1 Original line number Diff line number Diff line # This job will create or update a version badge containing the latest tag semantic-release:badge: image: registry.gitlab.com/notno/semantic-release-gitlab:latest image: bash:latest stage: deploy script: - apk add --no-cache curl - | if [[ ! ${CI_COMMIT_TAG} =~ ^v[0-9]+(\.[0-9]+){2}$ ]]; then echo "[!] Not a version tag in format v#.#.#." Loading @@ -20,3 +21,4 @@ semantic-release:badge: esac rules: - if: $CI_COMMIT_TAG needs: [] Loading
alm/semantic-release-badge.yml +3 −1 Original line number Diff line number Diff line # This job will create or update a version badge containing the latest tag semantic-release:badge: image: registry.gitlab.com/notno/semantic-release-gitlab:latest image: bash:latest stage: deploy script: - apk add --no-cache curl - | if [[ ! ${CI_COMMIT_TAG} =~ ^v[0-9]+(\.[0-9]+){2}$ ]]; then echo "[!] Not a version tag in format v#.#.#." Loading @@ -20,3 +21,4 @@ semantic-release:badge: esac rules: - if: $CI_COMMIT_TAG needs: []