Loading .gitlab-ci.yml +0 −11 Original line number Diff line number Diff line Loading @@ -141,14 +141,3 @@ semantic-release:dry-run: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: never - when: always python:semantic-release:version:dry-run: extends: python:semantic-release:version variables: EXTRA_ARGS: "--noop" rules: - if: $CI_COMMIT_TAG when: never - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: never - when: always alm/semantic-release.yml +5 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,11 @@ semantic-release: variables: EXTRA_ARGS: "" script: - | if [ -z "${GL_TOKEN}" ]; then echo "[!] You need to set a GL_TOKEN variable with an api scope project access token." echo "[!] This job will fail to push changes to the repository" fi - | if ! test -f .releaserc; then echo "[!] No '.releaserc' file found in the root of your project." Loading Loading
.gitlab-ci.yml +0 −11 Original line number Diff line number Diff line Loading @@ -141,14 +141,3 @@ semantic-release:dry-run: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: never - when: always python:semantic-release:version:dry-run: extends: python:semantic-release:version variables: EXTRA_ARGS: "--noop" rules: - if: $CI_COMMIT_TAG when: never - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: never - when: always
alm/semantic-release.yml +5 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,11 @@ semantic-release: variables: EXTRA_ARGS: "" script: - | if [ -z "${GL_TOKEN}" ]; then echo "[!] You need to set a GL_TOKEN variable with an api scope project access token." echo "[!] This job will fail to push changes to the repository" fi - | if ! test -f .releaserc; then echo "[!] No '.releaserc' file found in the root of your project." Loading