Commit 796000d7 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

Merge branch 'hoverht-master-patch-50989' into 'master'

fix: require .releaserc file

See merge request ci/templates!85
parents 37978dbb 8c8b6258
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -14,9 +14,10 @@ semantic-release:
  script:
    - |
      if ! test -f .releaserc; then
        echo "[!] No '.releaserc' file found. The job will probably fail."
        echo "[!] No '.releaserc' file found in the root of your project."
        echo "See https://gitlab.com/notno/ci-templates/-/blob/master/.releaserc for an example."
        echo "See https://semantic-release.gitbook.io/semantic-release/usage/configuration on how to configure semantic-release."
        exit 1
      fi
    - npm install -g semantic-release @semantic-release/gitlab @semantic-release/git @semantic-release/changelog
    - semantic-release ${EXTRA_ARGS}